Skip to content

Commit 5a159ca

Browse files
committed
Add newer llvm to path
1 parent 6a027cc commit 5a159ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
echo "CC=clang" >> "$GITHUB_ENV"
4141
echo "CXX=clang++" >> "$GITHUB_ENV"
4242
cargo install cargo-llvm-cov
43+
rustup component add llvm-tools-preview
44+
llvm=$(dirname $(find $(rustc --print sysroot) -name llvm-profdata))
45+
echo "PATH=$llvm:$PATH"
4346
- name: "cargo llvm-cov"
4447
run: cargo llvm-cov --workspace --include-ffi --ignore-filename-regex '/harfbuzz/' --codecov --output-path coverage.json
4548
- name: "Report coverage results"

0 commit comments

Comments
 (0)