Compare commits

..

2 commits

Author SHA1 Message Date
38ec10f4fd
ci(amd64/clang/coverage): fix path
Some checks failed
continuous-integration/drone/push Build is failing
2025-10-08 09:08:18 +03:30
00332ee958
ci(amd64/clang/coverage): fix path 2025-10-08 09:07:42 +03:30

View file

@ -35,16 +35,16 @@ for test in $(find ./build -type f -name '*_tests' -executable); do
"$test"
done
llvm-profdata merge --input-files './coverage/list' -o "./coverage/merged.profdata"
llvm-profdata merge --input-files './build/coverage/list' -o "./coverage/merged.profdata"
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