From 1823ff76dfcea709e4c301fe689287398416f865 Mon Sep 17 00:00:00 2001 From: SergeySeroshtan Date: Sun, 1 Dec 2024 21:30:14 -0500 Subject: [PATCH] Try to use linux/arm64 docker build --- .github/workflows/build-linux-arm64.yml | 35 +++---------------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build-linux-arm64.yml b/.github/workflows/build-linux-arm64.yml index e7c1ee8a9..d2f401efc 100644 --- a/.github/workflows/build-linux-arm64.yml +++ b/.github/workflows/build-linux-arm64.yml @@ -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