ci: add leak sanitizer ci check #7
					 1 changed files with 11 additions and 9 deletions
				
			
		| 
						 | 
					@ -55,6 +55,9 @@ RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
 | 
				
			||||||
    && cd light \
 | 
					    && cd light \
 | 
				
			||||||
    && conan install . \
 | 
					    && conan install . \
 | 
				
			||||||
        -s build_type=Release \
 | 
					        -s build_type=Release \
 | 
				
			||||||
 | 
					        -s compiler=clang \
 | 
				
			||||||
 | 
					        -s compiler.version=20 \
 | 
				
			||||||
 | 
					        -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", "-nostdinc++", "-isystem", "/libcxx_lsan/include", "-fsanitize=leak"]' \
 | 
				
			||||||
| 
						 | 
					@ -62,4 +65,3 @@ RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
 | 
				
			||||||
        -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"]' \
 | 
				
			||||||
        --build=missing 
 | 
					        --build=missing 
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue