]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: enable arm64 runner for build/unit jobs
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 4 Jul 2025 00:54:02 +0000 (01:54 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 4 Jul 2025 03:39:43 +0000 (12:39 +0900)
Enable only a couple of jobs, to avoid running down capacity too much

.github/workflows/build_test.yml
.github/workflows/unit_tests.yml

index 86e99b0eb9c2b278987fe7c36b20fc830235e050..c3a69508844383f4830230ca7aee399280b1c148 100644 (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
index 61cfabda56c822e58d3eb1ec3c7b8dda2166db9c..b41d1aecef2e918969266f51e22c3aba6d537761 100644 (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