Skip to content

Commit

Permalink
Use wpilib container
Browse files Browse the repository at this point in the history
  • Loading branch information
jfabellera committed Jan 9, 2024
1 parent e55cbc5 commit 26f2850
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- example: 'Velocity Closed Loop Control'
name: 'Build ${{ matrix.example }} - ${{ matrix.language }}'
runs-on: ubuntu-latest
container: wpilib/roborio-cross-ubuntu:2024-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -59,17 +60,10 @@ jobs:
restore-keys: |
${{ matrix.example }}-${{ matrix.language }}-build-
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17

- name: Build
# if: (matrix.language == 'Java' && !matrix.skip-java) || (matrix.language == 'C++' && !matrix.skip-cpp)
run: |
cd "${{ matrix.language }}"
cd "${{ matrix.example }}"
chmod +x gradlew
./gradlew installRoboRioToolchain
./gradlew build

0 comments on commit 26f2850

Please sign in to comment.