From 614e0180ea8476593054cba0c56b02157cab36cc Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 4 Jul 2025 01:54:02 +0100 Subject: [PATCH] ci: enable arm64 runner for build/unit jobs Enable only a couple of jobs, to avoid running down capacity too much --- .github/workflows/build_test.yml | 8 ++++++-- .github/workflows/unit_tests.yml | 9 +++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 86e99b0eb9c..c3a69508844 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -17,19 +17,23 @@ permissions: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ${{ matrix.runner }} concurrency: - group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}-${{ matrix.runner }} cancel-in-progress: true strategy: fail-fast: false matrix: + runner: [ ubuntu-24.04 ] env: - { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "bfd" } - { COMPILER: "gcc", COMPILER_VERSION: "13", LINKER: "mold" } - { COMPILER: "clang", COMPILER_VERSION: "14", LINKER: "mold" } - { COMPILER: "clang", COMPILER_VERSION: "16", LINKER: "bfd" } - { COMPILER: "clang", COMPILER_VERSION: "18", LINKER: "lld" } + include: + - env: { COMPILER: "gcc", COMPILER_VERSION: "13", LINKER: "mold" } + runner: [ ubuntu-24.04-arm ] env: ${{ matrix.env }} steps: - name: Repository checkout diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 61cfabda56c..b41d1aecef2 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -14,17 +14,22 @@ permissions: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ${{ matrix.runner }} concurrency: - group: ${{ github.workflow }}-${{ matrix.run_phase }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ matrix.run_phase }}-${{ github.ref }}-${{ matrix.runner }} cancel-in-progress: true strategy: fail-fast: false matrix: + runner: [ ubuntu-24.04 ] run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_RELEASE, CLANG_ASAN_UBSAN, CLANG_ASAN_UBSAN_NO_DEPS] include: - run_phase: GCC + - run_phase: GCC + runner: ubuntu-24.04-arm + - run_phase: CLANG - run_phase: CLANG + runner: ubuntu-24.04-arm steps: - name: Repository checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 -- 2.47.3