mirror of
https://github.com/uutils/tar.git
synced 2026-06-10 16:14:35 -07:00
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:
committed by
Daniel Hofstetter
parent
fd44e1ef17
commit
a9e1228b5e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user