Skip to content

Commit 19f840e

Browse files
committed
ci: disable sccache for windows arm64 build
1 parent 3729566 commit 19f840e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/naive-build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,14 @@ jobs:
237237
run: sccache -z
238238
- name: Build
239239
if: steps.build-cache.outputs.cache-hit != 'true'
240-
run: go run ./cmd/build-naive --target=windows/${{ matrix.arch }} build
240+
shell: bash
241+
run: |
242+
if [ "${{ matrix.arch }}" = "arm64" ]; then
243+
# sccache intermittently fails to archive boringssl asm outputs on
244+
# windows/arm64 runners.
245+
export SCCACHE_DISABLE=1
246+
fi
247+
go run ./cmd/build-naive --target=windows/${{ matrix.arch }} build
241248
- name: Show sccache stats
242249
if: steps.build-cache.outputs.cache-hit != 'true'
243250
run: sccache -s

0 commit comments

Comments
 (0)