Skip to content

Commit

Permalink
fix(ci): do not use sccache wrapper where it's not available
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Jun 29, 2024
1 parent 0290b1d commit aaf0bd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
DEBIAN_FRONTEND: noninteractive

CONST_RANDOM_SEED: ${{ secrets.CONST_RANDOM_SEED }}
RUSTC_WRAPPER: sccache

jobs:
static-analysis:
Expand Down Expand Up @@ -122,6 +121,9 @@ jobs:
# https://github.com/rust-lang/rust/blob/4c8bb79d9f565115637cc6da739f8389e79f3a29/library/std/Cargo.toml#L54-L79
OPTIMIZED_RELEASE_BUILD_FLAGS: -Z build-std -Z build-std-features=panic-unwind

# Use sccache to speed up Rust compilation
RUSTC_WRAPPER: sccache

# Exclude in-repo PRs from running this job
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork

Expand Down Expand Up @@ -376,6 +378,10 @@ jobs:
# Renovate branches to reduce noise
if: success() && github.event_name != 'pull_request' && !startsWith(github.ref_name, 'renovate/')

env:
# Use sccache to speed up Rust compilation
RUSTC_WRAPPER: sccache

steps:
- name: 🧰 Install development packages and benchmark script packages
run: |
Expand Down

0 comments on commit aaf0bd2

Please sign in to comment.