Skip to content

Commit

Permalink
Try to use linux/arm64 docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeySeroshtan committed Dec 2, 2024
1 parent 3ecce02 commit 1823ff7
Showing 1 changed file with 4 additions and 31 deletions.
35 changes: 4 additions & 31 deletions .github/workflows/build-linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,8 @@ on:
- "**"
jobs:
build-linux:
runs-on: ubuntu22-arm64
runs-on: ubuntu-latest
container: arm64v8/ubuntu:24.04
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
- name: Check architecture
run: uname -m

0 comments on commit 1823ff7

Please sign in to comment.