Skip to content

Commit

Permalink
Only use sccache for non-cross targets
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Apr 16, 2024
1 parent b78dd26 commit 9c38424
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ jobs:
components: clippy

- name: Set up sccache
# It's too much of a hassle to set up sccache in cross.
# See https://github.com/cross-rs/cross/wiki/Recipes#sccache.
if: matrix.cargo == 'cargo'
uses: mozilla-actions/[email protected]

- name: Install cross
Expand Down

0 comments on commit 9c38424

Please sign in to comment.