ci: add ninja & mold to static_analysis ci Dockerfile

This commit is contained in:
light7734 2025-07-17 12:07:35 +03:30
parent e02b208771
commit 4a15c5c213
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -13,8 +13,9 @@ RUN apk add --no-cache \
mesa-dev \ mesa-dev \
mesa-gl \ mesa-gl \
pkgconf \ pkgconf \
clang-extra-tools clang-extra-tools \
mold \
ninja-build
RUN pip install --no-cache-dir --break-system-packages conan gitpython \ RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect && conan profile detect
@ -23,13 +24,18 @@ RUN clang --version \
&& conan --version \ && conan --version \
&& pip --version \ && pip --version \
&& cmake --version \ && cmake --version \
&& g++ --version \
&& clang --version \ && clang --version \
&& clang-tidy --version && clang-tidy --version \
&& ninja --version \
&& mold --version
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \ RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
&& cd light \ && cd light \
&& conan install . \ && conan install . \
-c tools.system.package_manager:mode=install \ -c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-s build_type=Debug \
-o enable_static_analysis=True \ -o enable_static_analysis=True \
--build=missing --build=missing