tar: install llvm-tools before running grcov

Add a CI step to run `rustup component add llvm-tools` before
generating coverage data. grcov requires llvm-profdata (part of
llvm-tools) to process .profraw files; without it the coverage
job fails with "couldn't find llvm-profdata".
This commit is contained in:
Jeff Bailey
2026-04-04 10:04:16 +00:00
committed by Daniel Hofstetter
parent fd44e1ef17
commit a9e1228b5e
+5
View File
@@ -82,6 +82,11 @@ jobs:
# crate: grcov
# version: latest
# use-tool-cache: false
- name: "`llvm-tools` ~ install"
shell: bash
run: |
## Install the llvm-tools component to get access to `llvm-profdata`
rustup component add llvm-tools
- name: Generate coverage data (via `grcov`)
env:
# Use -Z