Skip to content

Commit

Permalink
add sccache to build-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky authored Mar 4, 2024
1 parent 9fdd681 commit 3094da9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,14 @@ jobs:
run: |
git config --global core.autocrlf false
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Set sccache env vars
run: |
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
with:
fetch-depth: 1
Expand Down

0 comments on commit 3094da9

Please sign in to comment.