Skip to content

Commit

Permalink
ci: log sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko-von-Leipzig committed Nov 7, 2023
1 parent 47d0af8 commit 9a8ce04
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ env:
# https://github.com/Mozilla-Actions/sccache-action#rust-code
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: false
CARGO_TERM_COLOR: always
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
SCCACHE_LOG: debug

jobs:
test:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: false
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand All @@ -46,6 +47,9 @@ jobs:
- name: Run unit tests
run: timeout 10m cargo nextest run --no-fail-fast --all-targets --all-features --workspace --locked

- name: sccache log
run: cat /tmp/sccache_log.txt

clippy:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 9a8ce04

Please sign in to comment.