ci: add libc++ to coverage.dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
light7734 2025-07-21 19:19:39 +03:30
parent 026f97ad0b
commit 0b94aaffa7
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -1,12 +1,16 @@
FROM archlinux:latest
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
RUN pacman -Syu --noconfirm --disable-download-timeout \
&& pacman -S --noconfirm --disable-download-timeout reflector \
&& reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist \
&& sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 8/' /etc/pacman.conf \
&& grep "ParallelDownloads" /etc/pacman.conf
RUN pacman -S --noconfirm --disable-download-timeout \
bash \
base-devel \
git \
cmake \
ninja \
python \
python-pip \
clang \
@ -16,13 +20,13 @@ RUN pacman -Syu --noconfirm && \
ninja \
curl \
wget \
zlib
zlib \
libc++
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect
RUN clang --version \
&& pip --version \
RUN pip --version \
&& conan --version \
&& cmake --version \
&& g++ --version \
@ -43,6 +47,6 @@ RUN git clone 'https://git.light7734.com/light7734/light.git' \
-s compiler.version=20 \
-s compiler.libcxx=libc++ \
-o use_mold=True \
-o enable_lcov=True \
-o enable_llvm_coverage=True \
--build=missing \
&& rm -r ../light/