Skip to content

Commit

Permalink
.github/workflows/ci.yml: minimize compilation times.
Browse files Browse the repository at this point in the history
This is achieved by masking 'criterion' dev-dependency. It's used only in
benchmarking code, which we don't exercise here.
  • Loading branch information
dot-asm committed Oct 29, 2023
1 parent 4ed819a commit a0b29e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
rustc --version --verbose
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
cd bindings/rust
sed "s/^crit/#crit/" Cargo.toml > Cargo.$$.toml && \
mv Cargo.$$.toml Cargo.toml
if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then
cargo update
fi
Expand Down

0 comments on commit a0b29e4

Please sign in to comment.