Skip to content

Commit 4ef9fd6

Browse files
committed
Try and enable sccache on windows builds
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 493dbb5 commit 4ef9fd6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,14 @@ jobs:
599599
uses: actions/setup-python@v5
600600
with:
601601
python-version: "3.11"
602+
- name: Setup sccache env (Windows)
603+
if: matrix.os == 'windows-x64'
604+
run: |
605+
echo "SCCACHE_GHA_ENABLED=false" >> $env:GITHUB_ENV
606+
echo "SCCACHE_BUCKET=${{ env.RUNS_ON_S3_BUCKET_CACHE }}" >> $env:GITHUB_ENV
607+
echo "SCCACHE_REGION=${{ env.RUNS_ON_AWS_REGION }}" >> $env:GITHUB_ENV
608+
echo "SCCACHE_S3_KEY_PREFIX=cache/sccache" >> $env:GITHUB_ENV
609+
echo "RUSTC_WRAPPER=sccache" >> $env:GITHUB_ENV
602610
- id: setup-rust
603611
uses: ./.github/actions/setup-rust
604612
with:

0 commit comments

Comments
 (0)