@@ -311,19 +311,6 @@ jobs:
311311 fail-fast : false
312312 matrix :
313313 vector :
314- - jobname : linux-sha256
315- cc : clang
316- pool : ubuntu-latest
317- - jobname : linux-reftable
318- cc : clang
319- pool : ubuntu-latest
320- - jobname : linux-breaking-changes
321- cc : gcc
322- pool : ubuntu-20.04
323- - jobname : linux-TEST-vars
324- cc : gcc
325- cc_package : gcc-8
326- pool : ubuntu-20.04
327314 - jobname : osx-clang
328315 cc : clang
329316 pool : macos-13
@@ -336,23 +323,11 @@ jobs:
336323 - jobname : osx-meson
337324 cc : clang
338325 pool : macos-13
339- - jobname : linux-leaks
340- cc : gcc
341- pool : ubuntu-latest
342- - jobname : linux-reftable-leaks
343- cc : gcc
344- pool : ubuntu-latest
345- - jobname : linux-asan-ubsan
346- cc : clang
347- pool : ubuntu-latest
348- - jobname : linux-meson
349- cc : gcc
350- pool : ubuntu-latest
351326 env :
352327 CC : ${{matrix.vector.cc}}
353328 CC_PACKAGE : ${{matrix.vector.cc_package}}
354329 jobname : ${{matrix.vector.jobname}}
355- distro : ${{matrix.vector.pool}}
330+ CI_JOB_IMAGE : ${{matrix.vector.pool}}
356331 TEST_OUTPUT_DIRECTORY : ${{github.workspace}}/t
357332 runs-on : ${{matrix.vector.pool}}
358333 steps :
@@ -390,27 +365,48 @@ jobs:
390365 fail-fast : false
391366 matrix :
392367 vector :
368+ - jobname : linux-sha256
369+ image : ubuntu:rolling
370+ cc : clang
371+ - jobname : linux-reftable
372+ image : ubuntu:rolling
373+ cc : clang
374+ - jobname : linux-TEST-vars
375+ image : ubuntu:20.04
376+ cc : gcc
377+ cc_package : gcc-8
378+ - jobname : linux-breaking-changes
379+ cc : gcc
380+ image : ubuntu:rolling
381+ - jobname : linux-leaks
382+ image : ubuntu:rolling
383+ cc : gcc
384+ - jobname : linux-reftable-leaks
385+ image : ubuntu:rolling
386+ cc : gcc
387+ - jobname : linux-asan-ubsan
388+ image : ubuntu:rolling
389+ cc : clang
390+ - jobname : linux-meson
391+ image : ubuntu:rolling
392+ cc : gcc
393393 - jobname : linux-musl
394- image : alpine
395- distro : alpine-latest
394+ image : alpine:latest
396395 # Supported until 2025-04-02.
397396 - jobname : linux32
398397 image : i386/ubuntu:focal
399- distro : ubuntu32-20.04
400398 - jobname : pedantic
401- image : fedora
402- distro : fedora-latest
399+ image : fedora:latest
403400 # A RHEL 8 compatible distro. Supported until 2029-05-31.
404401 - jobname : almalinux-8
405402 image : almalinux:8
406- distro : almalinux-8
407403 # Supported until 2026-08-31.
408404 - jobname : debian-11
409405 image : debian:11
410- distro : debian-11
411406 env :
412407 jobname : ${{matrix.vector.jobname}}
413- distro : ${{matrix.vector.distro}}
408+ CC : ${{matrix.vector.cc}}
409+ CI_JOB_IMAGE : ${{matrix.vector.image}}
414410 runs-on : ubuntu-latest
415411 container : ${{matrix.vector.image}}
416412 steps :
@@ -419,10 +415,12 @@ jobs:
419415 run : apt -q update && apt -q -y install libc6-amd64 lib64stdc++6
420416 - uses : actions/checkout@v4
421417 - run : ci/install-dependencies.sh
422- - run : ci/run-build-and-tests.sh
418+ - run : useradd builder --create-home
419+ - run : chown -R builder .
420+ - run : sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
423421 - name : print test failures
424422 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
425- run : ci/print-test-failures.sh
423+ run : sudo --preserve-env --set-home --user=builder ci/print-test-failures.sh
426424 - name : Upload failed tests' directories
427425 if : failure() && env.FAILED_TEST_ARTIFACTS != ''
428426 uses : actions/upload-artifact@v4
0 commit comments