Skip to content

Commit

Permalink
Temporary workaround for failing Win coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashley Anderson committed Jan 16, 2022
1 parent a05a628 commit 396693b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,13 @@ jobs:
components: llvm-tools-preview
- name: install cargo-llvm-cov
shell: bash
run: |
host=$(rustc -Vv | grep host | sed 's/host: //')
curl -fsSL https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${CARGO_LLVM_COV_VERSION}/cargo-llvm-cov-"$host".tar.gz | tar xzf - -C ~/.cargo/bin
env:
CARGO_LLVM_COV_VERSION: 0.1.11
# TODO: this is a workaround for overflowing the command length in windows - hopefully will get merged in cargo-llvm-cov (https://github.com/taiki-e/cargo-llvm-cov/pull/126)
run: cargo install --git https://github.com/aganders3/cargo-llvm-cov --branch relative-object-paths cargo-llvm-cov
# run: |
# host=$(rustc -Vv | grep host | sed 's/host: //')
# curl -fsSL https://github.com/taiki-e/cargo-llvm-cov/releases/download/v${CARGO_LLVM_COV_VERSION}/cargo-llvm-cov-"$host".tar.gz | tar xzf - -C ~/.cargo/bin
# env:
# CARGO_LLVM_COV_VERSION: 0.1.11
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand Down

0 comments on commit 396693b

Please sign in to comment.