@@ -259,19 +259,6 @@ jobs:
259259 fail-fast : false
260260 matrix :
261261 vector :
262- - jobname : linux-sha256
263- cc : clang
264- pool : ubuntu-latest
265- - jobname : linux-reftable
266- cc : clang
267- pool : ubuntu-latest
268- - jobname : linux-breaking-changes
269- cc : gcc
270- pool : ubuntu-20.04
271- - jobname : linux-TEST-vars
272- cc : gcc
273- cc_package : gcc-8
274- pool : ubuntu-20.04
275262 - jobname : osx-clang
276263 cc : clang
277264 pool : macos-13
@@ -284,23 +271,11 @@ jobs:
284271 - jobname : osx-meson
285272 cc : clang
286273 pool : macos-13
287- - jobname : linux-leaks
288- cc : gcc
289- pool : ubuntu-latest
290- - jobname : linux-reftable-leaks
291- cc : gcc
292- pool : ubuntu-latest
293- - jobname : linux-asan-ubsan
294- cc : clang
295- pool : ubuntu-latest
296- - jobname : linux-meson
297- cc : gcc
298- pool : ubuntu-latest
299274 env :
300275 CC : ${{matrix.vector.cc}}
301276 CC_PACKAGE : ${{matrix.vector.cc_package}}
302277 jobname : ${{matrix.vector.jobname}}
303- distro : ${{matrix.vector.pool}}
278+ CI_JOB_IMAGE : ${{matrix.vector.pool}}
304279 TEST_OUTPUT_DIRECTORY : ${{github.workspace}}/t
305280 runs-on : ${{matrix.vector.pool}}
306281 steps :
@@ -338,27 +313,48 @@ jobs:
338313 fail-fast : false
339314 matrix :
340315 vector :
316+ - jobname : linux-sha256
317+ image : ubuntu:rolling
318+ cc : clang
319+ - jobname : linux-reftable
320+ image : ubuntu:rolling
321+ cc : clang
322+ - jobname : linux-TEST-vars
323+ image : ubuntu:20.04
324+ cc : gcc
325+ cc_package : gcc-8
326+ - jobname : linux-breaking-changes
327+ cc : gcc
328+ image : ubuntu:rolling
329+ - jobname : linux-leaks
330+ image : ubuntu:rolling
331+ cc : gcc
332+ - jobname : linux-reftable-leaks
333+ image : ubuntu:rolling
334+ cc : gcc
335+ - jobname : linux-asan-ubsan
336+ image : ubuntu:rolling
337+ cc : clang
338+ - jobname : linux-meson
339+ image : ubuntu:rolling
340+ cc : gcc
341341 - jobname : linux-musl
342- image : alpine
343- distro : alpine-latest
342+ image : alpine:latest
344343 # Supported until 2025-04-02.
345344 - jobname : linux32
346345 image : i386/ubuntu:focal
347- distro : ubuntu32-20.04
348346 - jobname : pedantic
349- image : fedora
350- distro : fedora-latest
347+ image : fedora:latest
351348 # A RHEL 8 compatible distro. Supported until 2029-05-31.
352349 - jobname : almalinux-8
353350 image : almalinux:8
354- distro : almalinux-8
355351 # Supported until 2026-08-31.
356352 - jobname : debian-11
357353 image : debian:11
358- distro : debian-11
359354 env :
360355 jobname : ${{matrix.vector.jobname}}
361- distro : ${{matrix.vector.distro}}
356+ CC : ${{matrix.vector.cc}}
357+ CI_JOB_IMAGE : ${{matrix.vector.image}}
362358 runs-on : ubuntu-latest
363359 container : ${{matrix.vector.image}}
364360 steps :
@@ -367,10 +363,12 @@ jobs:
367363 run : apt -q update && apt -q -y install libc6-amd64 lib64stdc++6
368364 - uses : actions/checkout@v4
369365 - run : ci/install-dependencies.sh
370- - run : ci/run-build-and-tests.sh
366+ - run : useradd builder --create-home
367+ - run : chown -R builder .
368+ - run : sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
371369 - name : print test failures
372370 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
373- run : ci/print-test-failures.sh
371+ run : sudo --preserve-env --set-home --user=builder ci/print-test-failures.sh
374372 - name : Upload failed tests' directories
375373 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
376374 uses : actions/upload-artifact@v4
0 commit comments