Try custom arm64 runner #1
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
name: build-linux-arm64 | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
build-linux: | |
runs-on: ubuntu22-arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure toolchain | |
run: | | |
sudo apt update | |
cmake --version | |
python3 --version | |
pip3 list --outdated | |
pip3 install -U protobuf grpcio-tools | |
- name: Configure project | |
run: > | |
cmake -S. -Bbuild | |
-DENABLE_HEAVY_TESTS=OFF | |
-DVIRGIL_C_MT_TESTING=OFF | |
-DENABLE_BENCHMARKING=ON | |
-DVIRGIL_POST_QUANTUM=ON | |
-DVIRGIL_PROGRAMS=ON | |
- name: Build for testing | |
run: cmake --build build -- -j$(nproc) | |
- name: Run tests | |
working-directory: build | |
run: ctest --output-on-failure | |
- name: Build multi-threading tests | |
run: | | |
cmake -S. -Bbuild -DVIRGIL_C_MT_TESTING=ON | |
cmake --build build -- -j$(nproc) | |
- name: Run multi-threading tests | |
working-directory: build | |
run: ctest -L multi-threading --output-on-failure | |
- name: Run benchmarks | |
run: ./build/benchmarks/foundation/bench |