-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to use mozilla-actions/sccache-action to speed up release
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,10 @@ defaults: | |
run: | ||
shell: bash | ||
|
||
env: | ||
RUSTC_WRAPPER: 'sccache' | ||
SCCACHE_GHA_ENABLED: 'true' | ||
|
||
jobs: | ||
standard: | ||
name: Std | ||
|
@@ -81,6 +85,9 @@ jobs: | |
run: | | ||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Setup Rust toolchain and cache | ||
uses: actions-rust-lang/[email protected] | ||
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135` | ||
|
@@ -172,6 +179,9 @@ jobs: | |
run: | | ||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Setup Rust toolchain and cache | ||
uses: actions-rust-lang/[email protected] | ||
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135` | ||
|