ci: Switch arm64_debian from QEMU to native arm64 Docker image

This commit is contained in:
Hennadii Stepanov
2025-06-19 20:08:32 +01:00
parent bcf77346b9
commit e814b79a8b

View File

@@ -74,7 +74,7 @@ jobs:
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=min cache-to: type=gha,mode=min
linux_debian: x86_64-debian:
name: "x86_64: Linux (Debian stable)" name: "x86_64: Linux (Debian stable)"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: docker_cache needs: docker_cache
@@ -231,15 +231,13 @@ jobs:
uses: ./.github/actions/print-logs uses: ./.github/actions/print-logs
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
arm64_debian: arm64-debian:
name: "ARM64: Linux (Debian stable, QEMU)" name: "arm64: Linux (Debian stable)"
runs-on: ubuntu-latest runs-on: ubuntu-24.04-arm
needs: docker_cache needs: docker_cache
env: env:
WRAPPER_CMD: 'qemu-aarch64'
SECP256K1_TEST_ITERS: 16 SECP256K1_TEST_ITERS: 16
HOST: 'aarch64-linux-gnu'
WITH_VALGRIND: 'no' WITH_VALGRIND: 'no'
ECDH: 'yes' ECDH: 'yes'
RECOVERY: 'yes' RECOVERY: 'yes'
@@ -248,27 +246,25 @@ jobs:
MUSIG: 'yes' MUSIG: 'yes'
ELLSWIFT: 'yes' ELLSWIFT: 'yes'
CTIMETESTS: 'no' CTIMETESTS: 'no'
CC: ${{ matrix.cc }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
configuration: cc:
- env_vars: { } # gcc - 'gcc'
- env_vars: # clang - 'clang'
CC: 'clang --target=aarch64-linux-gnu' - 'clang-snapshot'
- env_vars: # clang-snapshot
CC: 'clang-snapshot --target=aarch64-linux-gnu'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: CI script - name: CI script
env: ${{ matrix.configuration.env_vars }}
uses: ./.github/actions/run-in-docker-action uses: ./.github/actions/run-in-docker-action
with: with:
dockerfile: ./ci/linux-debian.Dockerfile dockerfile: ./ci/linux-debian.Dockerfile
tag: x64-debian-image tag: arm64-debian-image
- name: Print logs - name: Print logs
uses: ./.github/actions/print-logs uses: ./.github/actions/print-logs