Skip to content

Commit

Permalink
chore: Disable scccache on CI
Browse files Browse the repository at this point in the history
Seems to cause CI errors due to mozilla/sccache#1674
  • Loading branch information
Marwes committed Sep 9, 2023
1 parent e6d5ca5 commit 37b7ab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
CRATE_NAME: gluon
CARGO_INCREMENTAL: 0 # Incremental compilation is slower and bloats the cache
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
# RUSTC_WRAPPER: sccache
SCCACHE_CACHE_SIZE: 500M
steps:
- name: Checkout repository
Expand All @@ -30,13 +30,13 @@ jobs:
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- run: echo "$HOME/bin" >> $GITHUB_PATH
- run: mkdir -p $HOME/bin
- name: Setup tools
if: steps.cache.outputs.cache-hit != 'true'
run: |
./scripts/install_sccache.sh $TARGET
# ./scripts/install_sccache.sh $TARGET
source ~/.cargo/env || true
./scripts/install_mdbook.sh $TARGET
- name: Run tests
Expand Down

0 comments on commit 37b7ab9

Please sign in to comment.