| ... | @@ -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 |
| 36 | New-Item -Path 'build-release' -ItemType Directory | 36 | New-Item -Path 'build-release' -ItemType Directory |
| 37 | Set-Location -Path 'build-release' | 37 | Set-Location -Path 'build-release' |
| 38 | | 38 | |
| | 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 .. ` |