ci: update dockerfile to install conan dependency with lsan enabled

This commit is contained in:
light7734 2025-07-18 21:43:00 +03:30
parent de89e09953
commit a217179789
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -51,10 +51,12 @@ RUN cd llvm-project/ \
&& DESTDIR="/libcxx_lsan" ninja -C build install-cxx install-cxxabi\
&& rm -rf /usr/src/llvm-project/
# RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
# && cd light \
# && conan install . \
# -s build_type=Release \
# -c tools.system.package_manager:mode=install \
# -c tools.cmake.cmaketoolchain:generator=Ninja \
# --build=missing
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
&& cd light \
&& conan install . \
-s build_type=Release \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-c tools.build:cxxflags=["-g", "-fno-omit-frame-pointer", "-nostdinc++", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"] \
-c tools.build:ldflags=["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"] \
--build=missing