]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
ci: test clang with void instead of alpine
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 6 Nov 2024 17:46:58 +0000 (12:46 -0500)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 6 Nov 2024 18:49:57 +0000 (13:49 -0500)
Now that alpine is less tested, let's use void instead for clang.

test/container/Dockerfile-alpine
test/container/Dockerfile-void

index c2359ea251acbb6ff1cd9038cee5932f92ff87f3..4d8b9fa2a36cc079ca958b1755475519c8799c69 100644 (file)
@@ -23,15 +23,12 @@ FROM docker.io/${DISTRIBUTION}
 # export ARG
 ARG DISTRIBUTION
 
-ENV CC=clang
-
 # Packages to pass the BASIC test
 RUN apk add --no-cache \
     asciidoc \
     bash \
     binutils \
     blkid \
-    clang \
     coreutils \
     dracut \
     dracut-tests \
index 5dc46c1687d915e25ad1e3fe181645b3cfdcf4bf..c5a42050897b3c682c33e3e5cbf512d6b97e0ef0 100644 (file)
@@ -5,11 +5,14 @@
 # - elogind (instead of logind)
 # - uki (without systemd)
 # - zfs and zfs out of tree dracut module
+# - gzip compression
+# - clang
 
 FROM ghcr.io/void-linux/void-glibc-full
 
-# prefer running tests with zfs
+# prefer running tests with zfs and clang
 ENV TEST_FSTYPE=zfs
+ENV CC=clang
 
 RUN xbps-install -Syu xbps && xbps-install -yu \
     asciidoc \
@@ -17,6 +20,7 @@ RUN xbps-install -Syu xbps && xbps-install -yu \
     binutils \
     btrfs-progs \
     cargo \
+    clang \
     cpio \
     cryptsetup \
     dhclient \