-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jade Turner <[email protected]>
- Loading branch information
1 parent
bc82443
commit 33dec1e
Showing
1 changed file
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,36 +7,36 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
build-roborio: | ||
name: "Build - roboRIO" | ||
runs-on: ubuntu-latest | ||
container: wpilib/ubuntu-base:22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
- name: Install Ninja | ||
run: | | ||
sudo apt-get update -q | ||
sudo apt-get install -y ninja-build build-essential | ||
- run: curl -SL https://github.com/wpilibsuite/opensdk/releases/download/v2024-1/cortexa9_vfpv3-roborio-academic-2024-x86_64-linux-gnu-Toolchain-12.1.0.tgz | tar xzf - --strip-components=2 | ||
name: Replace arm32 compiler | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected] | ||
- name: Build with CMake | ||
run: | | ||
cmake -G Ninja -B build -S . --toolchain toolchain-config.cmake -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache | ||
cmake --build build --parallel $(nproc) | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
- run: ./gradlew publish -Pplatform=arm-frc2024-linux | ||
name: Build with Gradle | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.artifact-name }} | ||
path: gradleDir/outputs/ | ||
# build-roborio: | ||
# name: "Build - roboRIO" | ||
# runs-on: ubuntu-latest | ||
# container: wpilib/ubuntu-base:22.04 | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-java@v4 | ||
# with: | ||
# java-version: 17 | ||
# distribution: 'temurin' | ||
# - name: Install Ninja | ||
# run: | | ||
# sudo apt-get update -q | ||
# sudo apt-get install -y ninja-build build-essential | ||
# - run: curl -SL https://github.com/wpilibsuite/opensdk/releases/download/v2024-1/cortexa9_vfpv3-roborio-academic-2024-x86_64-linux-gnu-Toolchain-12.1.0.tgz | tar xzf - --strip-components=2 | ||
# name: Replace arm32 compiler | ||
# - name: Install sccache | ||
# uses: mozilla-actions/[email protected] | ||
# - name: Build with CMake | ||
# run: | | ||
# cmake -G Ninja -B build -S . --toolchain toolchain-config.cmake -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache | ||
# cmake --build build --parallel $(nproc) | ||
# env: | ||
# SCCACHE_GHA_ENABLED: "true" | ||
# - run: ./gradlew publish -Pplatform=arm-frc2024-linux | ||
# name: Build with Gradle | ||
# - uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: ${{ matrix.artifact-name }} | ||
# path: gradleDir/outputs/ | ||
|
||
build-docker: | ||
strategy: | ||
|
@@ -198,7 +198,7 @@ jobs: | |
|
||
combine: | ||
name: Combine | ||
needs: [build-docker, build-roborio, build-windows, make_universal] | ||
needs: [build-docker, build-windows, make_universal] # , build-roborio] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|