Skip to content

Commit 4145024

Browse files
authored
ci: add llvm to coverage check (#1682)
1 parent a4db7b9 commit 4145024

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-rs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,19 @@ jobs:
223223
components: llvm-tools-preview
224224
- name: Install CapnProto
225225
run: sudo apt-get install -y capnproto
226+
- name: Install LLVM and Clang
227+
uses: KyleMayes/install-llvm-action@v2
228+
with:
229+
version: "14.0"
230+
env: true
226231
- name: Install cargo-llvm-cov
227232
uses: taiki-e/install-action@cargo-llvm-cov
228233
- name: Run tests with coverage instrumentation
229234
run: |
230235
cargo llvm-cov clean --workspace
231236
cargo llvm-cov --no-report --no-default-features --doctests
232237
cargo llvm-cov --no-report --all-features --doctests
238+
cargo llvm-cov --no-report -p hugr-llvm --features llvm14-0 --doctests
233239
- name: Generate coverage report
234240
run: cargo llvm-cov --all-features report --codecov --output-path coverage.json
235241
- name: Upload coverage to codecov.io

0 commit comments

Comments
 (0)