@@ -60,16 +60,19 @@ jobs:
6060 ./tools/fake_tty.py ./tools/sanity_checks.py
6161
6262 Ubuntu :
63- runs-on : ${{ matrix.platform == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
63+ name : Ubuntu (${{ matrix.platform }})
64+ runs-on : ${{ matrix.runner }}
6465 needs : prelude
6566 strategy :
6667 fail-fast : false
6768 matrix :
6869 include :
69- - platform : x86_64
70- python : 3.13
7170 - platform : aarch64
71+ runner : ubuntu-24.04-arm
7272 python : 3.8
73+ - platform : x86_64
74+ runner : ubuntu-latest
75+ python : 3.13
7376 steps :
7477 - uses : actions/checkout@v5
7578 with :
@@ -109,12 +112,31 @@ jobs:
109112 ./tools/fake_tty.py ./tools/sanity_checks.py TestReleases.test_meson_version_deps
110113
111114 Alpine :
112- runs-on : ${{ startsWith(matrix.platform, 'x86') && 'ubuntu-latest' || 'ubuntu-24.04-arm' }}
115+ name : Alpine (${{ matrix.platform }})
116+ runs-on : ${{ matrix.runner }}
113117 needs : prelude
114118 strategy :
115119 fail-fast : false
116120 matrix :
117- platform : ['x86_64', 'x86', 'aarch64', 'armv7', 'riscv64', 'ppc64le']
121+ include :
122+ - platform : aarch64
123+ runner : ubuntu-24.04-arm
124+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878'
125+ - platform : armv7
126+ runner : ubuntu-24.04-arm
127+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878'
128+ - platform : ppc64le
129+ runner : ubuntu-24.04-arm
130+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878'
131+ - platform : riscv64
132+ runner : ubuntu-24.04-arm
133+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878'
134+ - platform : x86
135+ runner : ubuntu-latest
136+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/apk.static#!sha256!bdd044e0fd6cc388c5e571e1093efa5f35f7767cc5aa338b0a2576a429009a62'
137+ - platform : x86_64
138+ runner : ubuntu-latest
139+ apk-tools-url : ' https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/apk.static#!sha256!bdd044e0fd6cc388c5e571e1093efa5f35f7767cc5aa338b0a2576a429009a62'
118140 steps :
119141 - uses : actions/checkout@v5
120142 with :
@@ -124,7 +146,7 @@ jobs:
124146 with :
125147 arch : ${{ matrix.platform }}
126148 # https://github.com/jirutka/setup-alpine/pull/22
127- apk-tools-url : ${{ startsWith( matrix.platform, 'x86') && 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/ apk.static#!sha256!bdd044e0fd6cc388c5e571e1093efa5f35f7767cc5aa338b0a2576a429009a62' || 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878' }}
149+ apk-tools-url : ${{ matrix.apk-tools-url }}
128150 packages : >
129151 binutils clang libc-dev fortify-headers make patch cmake git linux-headers pkgconf py3-pip samurai sudo
130152
@@ -281,12 +303,17 @@ jobs:
281303 python tools/sanity_checks.py
282304
283305 MacOS :
284- runs-on : ${{ matrix.platform == 'arm64' && 'macos-14' || 'macos-13' }}
306+ name : MacOS (${{ matrix.platform }})
307+ runs-on : ${{ matrix.runner }}
285308 needs : prelude
286309 strategy :
287310 fail-fast : false
288311 matrix :
289- platform : ['arm64', 'x86_64']
312+ include :
313+ - platform : arm64
314+ runner : macos-14
315+ - platform : x86_64
316+ runner : macos-13
290317 steps :
291318 - uses : actions/checkout@v5
292319 with :
0 commit comments