File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,15 @@ jobs:
6060 - name : Set toolchain override with sudo
6161 # yamllint disable rule:line-length
6262 run : sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }}
63+ - name : Install cargo-binutils
64+ run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 cargo install cargo-binutils
6365 - name : Add component llvm-tools-preview
6466 run : sudo /home/runner/.cargo/bin/rustup component add llvm-tools-preview
6567 - name : Run all tests on ${{ matrix.toolchain }} toolchain with profiling
6668 run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH PROFILE=1 make -f Makefile sudo_test
6769 - name : Merge raw coverage files
6870 run : |
69- sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH llvm -profdata merge --sparse *.profraw -o result.profdata
71+ sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH rust -profdata merge --sparse *.profraw -o result.profdata
7072 sudo rm *.profraw
7173 - name : Generate coverage report
72- run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH llvm -cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only
74+ run : sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH rust -cov report -object $(find target/debug/deps/ -regex ".*devicemapper-[0-9a-f]*") -instr-profile=result.profdata --summary-only
You can’t perform that action at this time.
0 commit comments