ci: add lcov ci script
This commit is contained in:
parent
9d31a5eb1a
commit
d6ff7cdc8b
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