Skip to content

Commit aa23005

Browse files
boomanaiden154mahesh-attarde
authored andcommitted
[CI] Enable Windows Caching Through Sccache GCS (llvm#150114)
Same as 921287e but for Windows.
1 parent 945c6ae commit aa23005

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/premerge.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ jobs:
8888
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8989
with:
9090
fetch-depth: 2
91-
- name: Setup ccache
92-
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
93-
with:
94-
variant: "sccache"
95-
max-size: "2000M"
9691
- name: Compute Projects
9792
id: vars
9893
run: |
@@ -115,7 +110,7 @@ jobs:
115110
shell: cmd
116111
run: |
117112
call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
118-
bash .ci/monolithic-windows.sh "${{ steps.vars.outputs.windows-projects }}" "${{ steps.vars.outputs.windows-check-targets }}"
113+
bash -c "export SCCACHE_GCS_BUCKET=$CACHE_GCS_BUCKET; export SCCACHE_GCS_RW_MODE=READ_WRITE; sccache --start-server; .ci/monolithic-windows.sh \"${{ steps.vars.outputs.windows-projects }}\" \"${{ steps.vars.outputs.windows-check-targets }}\""
119114
- name: Upload Artifacts
120115
if: '!cancelled()'
121116
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0

0 commit comments

Comments
 (0)