-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable more things and fix Linux cross compilation (#11)
Add logic for the Linux ARM platforms. Disable OpenMP and Fortran to reduce dependencies, and LAPACKE, because it wasn't used by anything.
- Loading branch information
Showing
3 changed files
with
27 additions
and
16 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 |
---|---|---|
|
@@ -21,10 +21,10 @@ jobs: | |
include: | ||
- container: wpilib/raspbian-cross-ubuntu:bookworm-22.04 | ||
artifact-name: Arm32 | ||
build-options: -Pplatform=linux-arm32 | ||
build-options: -Pplatform=linux-arm32 -Ptoolchain=/usr/local/toolchain-config.cmake | ||
- container: wpilib/aarch64-cross-ubuntu:bookworm-22.04 | ||
artifact-name: Arm64 | ||
build-options: -Pplatform=linux-arm64 | ||
build-options: -Pplatform=linux-arm64 -Ptoolchain=/usr/local/toolchain-config.cmake | ||
- container: wpilib/ubuntu-base:22.04 | ||
artifact-name: Linux | ||
build-options: | ||
|
@@ -38,11 +38,11 @@ jobs: | |
name: Install dependencies | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
submodules: "true" | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
distribution: "temurin" | ||
- run: ./gradlew publish ${{ matrix.build-options }} | ||
name: Build with Gradle | ||
- run: ls build*/install/lib/* | ||
|
@@ -70,11 +70,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
submodules: "true" | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
distribution: "temurin" | ||
- uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ matrix.tool-arch }} | ||
|
@@ -94,11 +94,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
submodules: "true" | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
distribution: "temurin" | ||
- run: brew install cmake ninja | ||
name: install ninja | ||
- run: ./gradlew publish | ||
|
@@ -136,10 +136,10 @@ jobs: | |
./gradlew publish -Pthirdparty | ||
working-directory: combiner | ||
env: | ||
RUN_AZURE_ARTIFACTORY_RELEASE: 'TRUE' | ||
RUN_AZURE_ARTIFACTORY_RELEASE: "TRUE" | ||
ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Maven | ||
path: ~/releases | ||
path: ~/releases |
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
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