Skip to content

Commit

Permalink
CI: lock cargo_llvm_cov version (#1848)
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <18012015693@163.com>
  • Loading branch information
He1pa authored Feb 5, 2025
1 parent 29266c0 commit 98739db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compiler_base/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ test:
# Unit tests with code cov (Requires rust 1.60+)
codecov:
rustup component add llvm-tools-preview
cargo install cargo-llvm-cov
cargo install cargo-llvm-cov@0.6.15
cargo llvm-cov --workspace --ignore-filename-regex gpyrpc.rs --html --open

# Unit tests with code cov and output the lcov file (Requires rust 1.60+)
codecov-lcov:
rustup component add llvm-tools-preview
cargo install cargo-llvm-cov
cargo install cargo-llvm-cov@0.6.15
mkdir $(PWD)/.compiler_base
cargo llvm-cov --lcov --output-path $(PWD)/.compiler_base/lcov.info --workspace --ignore-filename-regex gpyrpc.rs
4 changes: 2 additions & 2 deletions kclvm/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ test:
# Unit tests with code cov (Requires rust 1.60+)
codecov:
rustup component add llvm-tools-preview
cargo install cargo-llvm-cov
cargo install cargo-llvm-cov@0.6.15
cargo llvm-cov --workspace --ignore-filename-regex gpyrpc.rs --html --open -- --nocapture

# Unit tests with code cov and output the lcov file (Requires rust 1.60+)
codecov-lcov:
rustup component add llvm-tools-preview
cargo install cargo-llvm-cov
cargo install cargo-llvm-cov@0.6.15
rm -rf $(PWD)/.kclvm_cov
mkdir $(PWD)/.kclvm_cov
cargo llvm-cov --lcov --output-path $(PWD)/.kclvm_cov/lcov.info -r --workspace --ignore-filename-regex gpyrpc.rs -- --nocapture
Expand Down

0 comments on commit 98739db

Please sign in to comment.