From: Luca Boccassi Date: Fri, 4 Jul 2025 00:54:02 +0000 (+0100) Subject: ci: enable arm64 runner for build/unit jobs X-Git-Tag: v258-rc1~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=614e0180ea8476593054cba0c56b02157cab36cc;p=thirdparty%2Fsystemd.git ci: enable arm64 runner for build/unit jobs Enable only a couple of jobs, to avoid running down capacity too much --- 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