Skip to content

ci: install cargo-llvm-cov as a prebuilt binary#143

Open
mazurroman wants to merge 1 commit into
mainfrom
rm/ci-prebuilt-llvm-cov
Open

ci: install cargo-llvm-cov as a prebuilt binary#143
mazurroman wants to merge 1 commit into
mainfrom
rm/ci-prebuilt-llvm-cov

Conversation

@mazurroman

Copy link
Copy Markdown
Member

Summary

  • The coverage job currently runs cargo install cargo-llvm-cov --locked, which compiles the tool from source on every run (typically several minutes).
  • taiki-e/install-action@v2 downloads the matching prebuilt binary directly from the cargo-llvm-cov GitHub releases — same tool, no compile.
  • Only the install step is replaced; cargo llvm-cov --workspace … runs unchanged afterwards.

This is independent of #142 (rust-cache); they layer cleanly — rust-cache won't help the cold first run, and taiki-e/install-action keeps source-compilation out of the loop entirely.

Test plan

  • No change to the cargo llvm-cov invocation or its flags.
  • taiki-e/install-action@v2 is a widely-used standard action and ships official cargo-llvm-cov binaries.

The coverage job currently runs 'cargo install cargo-llvm-cov --locked'
which compiles the tool from source on every run (typically several
minutes). taiki-e/install-action@v2 downloads the matching prebuilt
binary directly from the cargo-llvm-cov GitHub releases — same tool,
no compile.

Same command runs afterwards ('cargo llvm-cov --workspace ...'); only
the install step is replaced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant