Skip to content

Commit 01a2a54

Browse files
test-various: Use clang for the UEFI test
This syncs it with how the UEFI targets are built in dist-various-2.
1 parent eafe61d commit 01a2a54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ci/docker/host-x86_64/test-various/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM ubuntu:20.04
22

33
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
4+
clang-11 \
45
g++ \
56
make \
67
ninja-build \
@@ -67,7 +68,9 @@ ENV MUSL_TARGETS=x86_64-unknown-linux-musl \
6768
ENV MUSL_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $MUSL_TARGETS
6869

6970
COPY host-x86_64/test-various/uefi_qemu_test /uefi_qemu_test
70-
ENV UEFI_TARGETS=x86_64-unknown-uefi
71+
ENV UEFI_TARGETS=x86_64-unknown-uefi \
72+
CC_x86_64_unknown_uefi=clang-11 \
73+
CXX_x86_64_unknown_uefi=clang++-11
7174
ENV UEFI_SCRIPT python3 /checkout/x.py --stage 2 build --host='' --target $UEFI_TARGETS && \
7275
python3 -u /uefi_qemu_test/run.py
7376

0 commit comments

Comments
 (0)