| author | |
| committer | |
| log | a644be7ee0ae6d34edf009f4f837ef126e888925 |
| tree | 8ba0cfaaae4aa465f64e5c4aeccfe781f9e5353e |
| parent | 2f30d5b9a891e2db1c953c3710aca286206b9e9d |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
Not strictly needed, but:
1. It makes the scripts easier to diff.
2. It makes adding local binaries easier.26 files changed, 54 insertions(+), 4 deletions(-)
ci/aarch64-freebsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-freebsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-debug.sh+3-2| ... | @@ -5,21 +5,22 @@ | ... | @@ -5,21 +5,22 @@ |
| 5 | set -x | 5 | set -x |
| 6 | set -e | 6 | set -e |
| 7 | 7 | ||
| 8 | ZIGDIR="$PWD" | ||
| 9 | TARGET="aarch64-macos-none" | 8 | TARGET="aarch64-macos-none" |
| 10 | MCPU="baseline" | 9 | MCPU="baseline" |
| 11 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 12 | PREFIX="$HOME/$CACHE_BASENAME" | 11 | PREFIX="$HOME/$CACHE_BASENAME" |
| 13 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 14 | 13 | ||
| 14 | ZIGDIR="$PWD" | ||
| 15 | if [ ! -d "$PREFIX" ]; then | 15 | if [ ! -d "$PREFIX" ]; then |
| 16 | cd $HOME | 16 | cd $HOME |
| 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" | 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" |
| 18 | tar xf "$CACHE_BASENAME.tar.xz" | 18 | tar xf "$CACHE_BASENAME.tar.xz" |
| 19 | fi | 19 | fi |
| 20 | |||
| 21 | cd $ZIGDIR | 20 | cd $ZIGDIR |
| 22 | 21 | ||
| 22 | export PATH="$HOME/local/bin:$PATH" | ||
| 23 | |||
| 23 | # Override the cache directories because they won't actually help other CI runs | 24 | # Override the cache directories because they won't actually help other CI runs |
| 24 | # which will be testing alternate versions of zig, and ultimately would just | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 25 | # fill up space on the hard drive for no reason. | 26 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-release.sh+3-2| ... | @@ -5,21 +5,22 @@ | ... | @@ -5,21 +5,22 @@ |
| 5 | set -x | 5 | set -x |
| 6 | set -e | 6 | set -e |
| 7 | 7 | ||
| 8 | ZIGDIR="$PWD" | ||
| 9 | TARGET="aarch64-macos-none" | 8 | TARGET="aarch64-macos-none" |
| 10 | MCPU="baseline" | 9 | MCPU="baseline" |
| 11 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 12 | PREFIX="$HOME/$CACHE_BASENAME" | 11 | PREFIX="$HOME/$CACHE_BASENAME" |
| 13 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 14 | 13 | ||
| 14 | ZIGDIR="$PWD" | ||
| 15 | if [ ! -d "$PREFIX" ]; then | 15 | if [ ! -d "$PREFIX" ]; then |
| 16 | cd $HOME | 16 | cd $HOME |
| 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" | 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" |
| 18 | tar xf "$CACHE_BASENAME.tar.xz" | 18 | tar xf "$CACHE_BASENAME.tar.xz" |
| 19 | fi | 19 | fi |
| 20 | |||
| 21 | cd $ZIGDIR | 20 | cd $ZIGDIR |
| 22 | 21 | ||
| 22 | export PATH="$HOME/local/bin:$PATH" | ||
| 23 | |||
| 23 | # Override the cache directories because they won't actually help other CI runs | 24 | # Override the cache directories because they won't actually help other CI runs |
| 24 | # which will be testing alternate versions of zig, and ultimately would just | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 25 | # fill up space on the hard drive for no reason. | 26 | # fill up space on the hard drive for no reason. |
ci/aarch64-netbsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-netbsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-openbsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.2030+f955266cf" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.2030+f955266cf" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-openbsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.2030+f955266cf" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.2030+f955266cf" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-windows-debug.ps1+2| ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 | ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 |
| 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } | 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } |
| 6 | 6 | ||
| 7 | $Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH" | ||
| 8 | |||
| 7 | function CheckLastExitCode { | 9 | function CheckLastExitCode { |
| 8 | if (!$?) { | 10 | if (!$?) { |
| 9 | exit 1 | 11 | exit 1 |
ci/aarch64-windows-release.ps1+2| ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 | ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 |
| 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } | 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } |
| 6 | 6 | ||
| 7 | $Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH" | ||
| 8 | |||
| 7 | function CheckLastExitCode { | 9 | function CheckLastExitCode { |
| 8 | if (!$?) { | 10 | if (!$?) { |
| 9 | exit 1 | 11 | exit 1 |
ci/loongarch64-linux-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/loongarch64-linux-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/powerpc64le-linux-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/powerpc64le-linux-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/riscv64-linux-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/riscv64-linux-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/s390x-linux-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/s390x-linux-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-freebsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-freebsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-netbsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-netbsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-openbsd-debug.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-openbsd-release.sh+2| ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" | ... | @@ -11,6 +11,8 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | ZIG="$PREFIX/bin/zig" | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | ||
| 14 | export PATH="$HOME/local/bin:$PATH" | ||
| 15 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | # which will be testing alternate versions of zig, and ultimately would just | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | # fill up space on the hard drive for no reason. | 18 | # fill up space on the hard drive for no reason. |
ci/x86_64-windows-debug.ps1+2| ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 | ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 |
| 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } | 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } |
| 6 | 6 | ||
| 7 | $Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH" | ||
| 8 | |||
| 7 | function CheckLastExitCode { | 9 | function CheckLastExitCode { |
| 8 | if (!$?) { | 10 | if (!$?) { |
| 9 | exit 1 | 11 | exit 1 |
ci/x86_64-windows-release.ps1+2| ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 | ... | @@ -4,6 +4,8 @@ $PREFIX_PATH = "$($Env:USERPROFILE)\deps\zig+llvm+lld+clang-$TARGET-0.17.0-dev.2 |
| 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } | 5 | $ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 } |
| 6 | 6 | ||
| 7 | $Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH" | ||
| 8 | |||
| 7 | function CheckLastExitCode { | 9 | function CheckLastExitCode { |
| 8 | if (!$?) { | 10 | if (!$?) { |
| 9 | exit 1 | 11 | exit 1 |