zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 8691fde0f631daf527a4e030d0be9d26c5b16208 (tree)
parent 175d018512c6fd04833a242413ff21e9551b23a2
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 12 Dec 2022 18:34:28 -0700

CI: override cache folders on aarch64-windows

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

Diffstat:
Mci/aarch64-windows.ps1 | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

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