-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 Added ARM64 CI runs on Linux (#635)
* 🔥 Drop legacy `ubuntu-20.04` C++20 CI * 👷 Added `ubuntu-24.04-arm` for ARM64 CI runs on Linux * 💚 `ccache` doesn't seem to work on ARM yet * 💚 Disable Z3 on ARM * 💚 Exclude `g++` on Linux ARM due to library incompatibility * 👷 Add the ARM Linux platform to PyPI deployment * 🎨 Incorporated pre-commit fixes * 💚 Disable `ccache` on ARM * 💚 Attempt to fix compiler error on ARM Linux * 💚 Attempt to fix compiler error on ARM Linux * 💚 Attempt to utilize Z3 on ARM * 🎨 Simplify `setup-z3` calls * ⏪ Revert Z3 on ARM changes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c47c5b0
commit 1cdb4b9
Showing
6 changed files
with
30 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
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 |
---|---|---|
|
@@ -83,7 +83,8 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
runs-on: [ubuntu-latest, macos-13, macos-14, windows-latest] | ||
runs-on: | ||
[ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -95,6 +96,7 @@ jobs: | |
uses: ilammy/msvc-dev-cmd@v1 | ||
|
||
- name: Setup ccache | ||
if: matrix.runs-on != 'ubuntu-24.04-arm' | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: "${{matrix.config.os}}-pyfiction" | ||
|
@@ -124,7 +126,7 @@ jobs: | |
- name: Upload wheel as an artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.config.os }}-${{ matrix.config.arch }}-${{ matrix.python }} | ||
name: cibw-wheels-${{ matrix.config.os }} | ||
path: ./wheelhouse/*.whl | ||
overwrite: true | ||
|
||
|
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 |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
build_and_test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-22.04, ubuntu-24.04] | ||
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm] | ||
compiler: [g++-11, g++-12, g++-13, clang++-14, clang++-15, clang++-16] | ||
exclude: | ||
- os: ubuntu-22.04 | ||
|
@@ -47,6 +47,14 @@ jobs: | |
compiler: clang++-16 | ||
- os: ubuntu-24.04 | ||
compiler: clang++-14 | ||
- os: ubuntu-24.04-arm | ||
compiler: g++-11 | ||
- os: ubuntu-24.04-arm | ||
compiler: g++-12 | ||
- os: ubuntu-24.04-arm | ||
compiler: g++-13 | ||
- os: ubuntu-24.04-arm | ||
compiler: clang++-14 | ||
include: | ||
- os: ubuntu-22.04 | ||
compiler: g++-10 | ||
|
@@ -56,12 +64,12 @@ jobs: | |
compiler: clang++-17 | ||
- os: ubuntu-24.04 | ||
compiler: clang++-18 | ||
- os: ubuntu-20.04 | ||
compiler: g++-10 | ||
cppstandard: -DCMAKE_CXX_STANDARD=20 | ||
cppname: C++20 | ||
- os: ubuntu-24.04-arm | ||
compiler: clang++-17 | ||
- os: ubuntu-24.04-arm | ||
compiler: clang++-18 | ||
|
||
name: 🐧 ${{matrix.os}} with ${{matrix.compiler}} ${{matrix.cppname}} | ||
name: 🐧 ${{matrix.os}} with ${{matrix.compiler}} | ||
runs-on: ${{matrix.os}} | ||
|
||
steps: | ||
|
@@ -74,6 +82,8 @@ jobs: | |
submodules: recursive | ||
|
||
- name: Setup ccache | ||
# ccache is not supported on ARM yet | ||
if: matrix.os != 'ubuntu-24.04-arm' | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: "${{matrix.os}}-${{matrix.compiler}}" | ||
|
@@ -96,6 +106,7 @@ jobs: | |
uses: rui314/setup-mold@v1 | ||
|
||
- name: Setup Z3 Solver | ||
if: matrix.os != 'ubuntu-24.04-arm' | ||
id: z3 | ||
uses: cda-tum/setup-z3@v1 | ||
with: | ||
|
@@ -122,7 +133,7 @@ jobs: | |
-DFICTION_TEST=ON | ||
-DFICTION_BENCHMARK=OFF | ||
-DFICTION_EXPERIMENTS=ON | ||
-DFICTION_Z3=ON | ||
${{ matrix.os != 'ubuntu-24.04-arm' && '-DFICTION_Z3=ON' || '' }} | ||
-DFICTION_ENABLE_MUGEN=ON | ||
-DFICTION_PROGRESS_BARS=OFF | ||
-DFICTION_WARNINGS_AS_ERRORS=OFF | ||
|
@@ -134,7 +145,7 @@ jobs: | |
|
||
- name: Test (Debug) | ||
working-directory: ${{github.workspace}}/build_debug | ||
run: ctest -C Debug --verbose --output-on-failure --repeat until-pass:3 --parallel 4 --exclude-regex "quality" | ||
run: ctest -C Debug --verbose --output-on-failure --repeat until-pass:3 --parallel 4 | ||
|
||
# Build and test pipeline for Release mode | ||
|
||
|
@@ -153,7 +164,7 @@ jobs: | |
-DFICTION_TEST=ON | ||
-DFICTION_BENCHMARK=OFF | ||
-DFICTION_EXPERIMENTS=ON | ||
-DFICTION_Z3=ON | ||
${{ matrix.os != 'ubuntu-24.04-arm' && '-DFICTION_Z3=ON' || '' }} | ||
-DFICTION_ENABLE_MUGEN=ON | ||
-DFICTION_PROGRESS_BARS=OFF | ||
-DFICTION_WARNINGS_AS_ERRORS=OFF | ||
|
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
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