ci: add leak sanitizer ci check #7
1 changed files with 2 additions and 4 deletions
|
@ -30,7 +30,6 @@ RUN clang --version \
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
|
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git -b llvmorg-20.1.8 \
|
||||||
&& cd llvm-project/ \
|
&& cd llvm-project/ \
|
||||||
&& rm -rf build/ \
|
|
||||||
&& mkdir build/ \
|
&& mkdir build/ \
|
||||||
&& cd build/ \
|
&& cd build/ \
|
||||||
&& cmake \
|
&& cmake \
|
||||||
|
@ -59,10 +58,9 @@ RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
|
||||||
-s compiler.libcxx=libc++ \
|
-s compiler.libcxx=libc++ \
|
||||||
-c tools.system.package_manager:mode=install \
|
-c tools.system.package_manager:mode=install \
|
||||||
-c tools.cmake.cmaketoolchain:generator=Ninja \
|
-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:cxxflags='["-g", "-fno-omit-frame-pointer", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
|
||||||
-c tools.build:sharedlinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
-c tools.build:sharedlinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
||||||
-c tools.build:exelinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
-c tools.build:exelinkflags='["-L/libcxx_lsan/lib", "-Wl,-rpath,/libcxx_lsan/lib", "-lc++", "-lc++abi", "-fsanitize=leak"]' \
|
||||||
-c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
|
-c tools.info.package_id:confs='["tools.build:cxxflags","tools.build:sharedlinkflags","tools.build:exelinkflags"]' \
|
||||||
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
|
-c tools.build:compiler_executables='{"c": "clang", "cpp": "clang++"}' \
|
||||||
--build=missing
|
--build=missing
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue