ci: add clang code coverage check #10
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -7,16 +7,13 @@ rm -rf ./build
 | 
				
			||||||
conan build . \
 | 
					conan build . \
 | 
				
			||||||
    -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='["-fprofile-instr-generate", "-fcoverage-mapping"]' \
 | 
					 | 
				
			||||||
    -c tools.build:sharedlinkflags='["-fprofile-instr-generate", "-fcoverage-mapping"]' \
 | 
					 | 
				
			||||||
    -c tools.build:exelinkflags='["-fprofile-instr-generate", "-fcoverage-mapping"]' \
 | 
					 | 
				
			||||||
    -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++"}' \
 | 
				
			||||||
    -s build_type=Release \
 | 
					    -s build_type=Release \
 | 
				
			||||||
    -s compiler=clang \
 | 
					    -s compiler=clang \
 | 
				
			||||||
    -s compiler.version=20 \
 | 
					    -s compiler.version=20 \
 | 
				
			||||||
    -s compiler.libcxx=libc++ \
 | 
					    -s compiler.libcxx=libc++ \
 | 
				
			||||||
    -o use_mold=True \
 | 
					    -o use_mold=True \
 | 
				
			||||||
 | 
					    -o enable_lcov=True \
 | 
				
			||||||
    --build=missing
 | 
					    --build=missing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
					for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue