ci: fix amd64/clang/coverage.sh
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
light7734 2025-07-21 13:04:36 +03:30
parent 3b63449bdc
commit a1e94e9814
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -30,6 +30,6 @@ done
llvm-profdata merge --input-files './build/coverage/list' -o "./build/coverage/merged.profdata"
find ./modules -type f -name "*.profraw" -exec rm -fv {} +
LLVM_COV_SHOW=$(llvm-cov show -instr-profile="./build/coverage/merged.profdata" $(find ./build -type f -name "tests" -executable -exec printf -- '-object %s ' {} \;) -ignore-filename-regex="./modules/[^/]+/tests")
echo "${LLVM_COV_SHOW}" > "./build/coverage/coverage.txt"
LLVM_COV_SHOW=$(llvm-cov show -instr-profile='./build/coverage/merged.profdata' $(find ./build -type f -name '*_tests' -executable -exec printf -- '-object %s ' {} \;) -ignore-filename-regex='./modules/[^/]+/*_tests')
echo "${LLVM_COV_SHOW}" > './build/coverage/coverage.txt'
wget -qO- "https://codecov.io/bash" | bash