Skip to content

Commit

Permalink
Enable caching on all CI jobs that build the crate (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 authored Oct 28, 2024
1 parent 28f20d8 commit 7532f81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly
- run: rustup target add wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- run: cargo build --target wasm32-unknown-unknown

builtins:
Expand All @@ -117,6 +118,7 @@ jobs:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly
- uses: Swatinem/rust-cache@v2
- run: cargo build -p cb

benchmarks:
Expand All @@ -126,6 +128,7 @@ jobs:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly
- uses: Swatinem/rust-cache@v2
- name: Download musl source
run: ./ci/download-musl.sh
- run: cargo bench --all
Expand All @@ -143,6 +146,7 @@ jobs:
echo "MSRV=$msrv" >> "$GITHUB_ENV"
- name: Install Rust
run: rustup update "$MSRV" --no-self-update && rustup default "$MSRV"
- uses: Swatinem/rust-cache@v2
- run: cargo build -p libm

rustfmt:
Expand Down

0 comments on commit 7532f81

Please sign in to comment.