ci(amd64/clang/coverage): fix path
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
light7734 2025-10-08 09:08:18 +03:30
parent 00332ee958
commit 38ec10f4fd
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

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