authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-12 18:34:28-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-13 02:41:53-05:00
log8691fde0f631daf527a4e030d0be9d26c5b16208
tree183ab099f80e0e6c445d6a0e940e959dff07a98f
parent175d018512c6fd04833a242413ff21e9551b23a2

CI: override cache folders on aarch64-windows

This matches the scripts we use for our other self-hosted runners.

1 files changed, 6 insertions(+), 0 deletions(-)

ci/aarch64-windows.ps1+6
...@@ -36,6 +36,12 @@ Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore...@@ -36,6 +36,12 @@ Remove-Item -Path 'build-release' -Recurse -Force -ErrorAction Ignore
36New-Item -Path 'build-release' -ItemType Directory36New-Item -Path 'build-release' -ItemType Directory
37Set-Location -Path 'build-release'37Set-Location -Path 'build-release'
3838
39# Override the cache directories because they won't actually help other CI runs
40# which will be testing alternate versions of zig, and ultimately would just
41# fill up space on the hard drive for no reason.
42$Env:ZIG_GLOBAL_CACHE_DIR="$(Get-Location)\zig-global-cache"
43$Env:ZIG_LOCAL_CACHE_DIR="$(Get-Location)\zig-local-cache"
44
39# CMake gives a syntax error when file paths with backward slashes are used.45# CMake gives a syntax error when file paths with backward slashes are used.
40# Here, we use forward slashes only to work around this.46# Here, we use forward slashes only to work around this.
41& cmake .. `47& cmake .. `