Skip to content

Commit

Permalink
Add logging for sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Jul 16, 2024
1 parent 0f32a88 commit 8fa3c57
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Unused dependencies
run: cargo machete

- name: Display sccache stats
run: sccache --show-stats

test:
name: Test
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -85,6 +88,9 @@ jobs:
with:
path-to-lcov: "./lcov.info"

- name: Display sccache stats
run: sccache --show-stats

publish:
name: Publish
needs: [lint, test]
Expand Down Expand Up @@ -153,6 +159,9 @@ jobs:
- name: Run benchmarks
run: cargo bench --workspace --exclude chia_rs

- name: Display sccache stats
run: sccache --show-stats

fuzz:
name: Fuzz
runs-on: ubuntu-latest
Expand Down Expand Up @@ -203,3 +212,6 @@ jobs:
cd crates/chia-puzzles
cargo +nightly fuzz build
cargo fuzz list | xargs -I "%" sh -c "cargo +nightly fuzz run % -- -max_total_time=20 || exit 255"
- name: Display sccache stats
run: sccache --show-stats

0 comments on commit 8fa3c57

Please sign in to comment.