ci: enable arm64 runner for build/unit jobs

Enable only a couple of jobs, to avoid running down capacity too much
This commit is contained in:
Luca Boccassi
2025-07-04 01:54:02 +01:00
committed by Yu Watanabe
parent 60bda55f5b
commit 614e0180ea
2 changed files with 13 additions and 4 deletions

View File

@@ -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

View File

@@ -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