From b21a36ebd926adf40f8b5bf5fbad901919854c9d Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Sat, 7 Sep 2024 19:57:00 -0400 Subject: [PATCH] ci(alpine): use clang instead of gcc for more test coverage --- test/container/Dockerfile-alpine | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/container/Dockerfile-alpine b/test/container/Dockerfile-alpine index e5353b5a3..4074de4f4 100644 --- a/test/container/Dockerfile-alpine +++ b/test/container/Dockerfile-alpine @@ -1,10 +1,11 @@ FROM docker.io/alpine:latest +# prefer running tests with clang +ENV CC=clang + # ovmf is not installed as systemd-boot-efistub is not available # see https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61369 - RUN apk add --no-cache \ - alpine-sdk \ asciidoc \ bash \ binutils \ @@ -14,6 +15,7 @@ RUN apk add --no-cache \ busybox \ bzip2 \ cargo \ + clang \ coreutils \ cpio \ cryptsetup \ @@ -28,6 +30,7 @@ RUN apk add --no-cache \ erofs-utils \ eudev \ findmnt \ + file \ f2fs-tools \ gawk \ git \