diff --git a/circle.yml b/circle.yml index 10c002d35..8c225fa47 100644 --- a/circle.yml +++ b/circle.yml @@ -663,14 +663,13 @@ jobs: - run: name: Collect coverage data (Rust) command: | - # todo use cargo profdata annd cargo cov wrappers? - llvm-profdata merge -sparse default.profraw -o default.profdata - - llvm-cov report -use-color -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS - llvm-cov report -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS > coverage/report.txt - llvm-cov show -format=html -instr-profile default.profdata -Xdemangler rustfilt -region-coverage-lt=100 $OBJECT_ARGS > coverage/missing.html - llvm-cov show -format=html -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS > coverage/full.html - llvm-cov export -instr-profile default.profdata -format=lcov $OBJECT_ARGS > coverage.lcov + cargo profdata -- merge -sparse default.profraw -o default.profdata + + cargo cov -- report -use-color -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS + cargo cov -- report -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS > coverage/report.txt + cargo cov -- show -format=html -instr-profile default.profdata -Xdemangler rustfilt -region-coverage-lt=100 $OBJECT_ARGS > coverage/missing.html + cargo cov -- show -format=html -instr-profile default.profdata -Xdemangler rustfilt $OBJECT_ARGS > coverage/full.html + cargo cov -- export -instr-profile default.profdata -format=lcov $OBJECT_ARGS > coverage.lcov - store_artifacts: path: ~/build/coverage destination: rust-coverage-unittests