| 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 18 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-debug.sh+3-2| ... | ... | @@ -5,21 +5,22 @@ |
| 5 | 5 | set -x |
| 6 | 6 | set -e |
| 7 | 7 | |
| 8 | ZIGDIR="$PWD" | |
| 9 | 8 | TARGET="aarch64-macos-none" |
| 10 | 9 | MCPU="baseline" |
| 11 | 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 12 | 11 | PREFIX="$HOME/$CACHE_BASENAME" |
| 13 | 12 | ZIG="$PREFIX/bin/zig" |
| 14 | 13 | |
| 14 | ZIGDIR="$PWD" | |
| 15 | 15 | if [ ! -d "$PREFIX" ]; then |
| 16 | 16 | cd $HOME |
| 17 | 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" |
| 18 | 18 | tar xf "$CACHE_BASENAME.tar.xz" |
| 19 | 19 | fi |
| 20 | ||
| 21 | 20 | cd $ZIGDIR |
| 22 | 21 | |
| 22 | export PATH="$HOME/local/bin:$PATH" | |
| 23 | ||
| 23 | 24 | # Override the cache directories because they won't actually help other CI runs |
| 24 | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 25 | 26 | # fill up space on the hard drive for no reason. |
ci/aarch64-macos-release.sh+3-2| ... | ... | @@ -5,21 +5,22 @@ |
| 5 | 5 | set -x |
| 6 | 6 | set -e |
| 7 | 7 | |
| 8 | ZIGDIR="$PWD" | |
| 9 | 8 | TARGET="aarch64-macos-none" |
| 10 | 9 | MCPU="baseline" |
| 11 | 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 12 | 11 | PREFIX="$HOME/$CACHE_BASENAME" |
| 13 | 12 | ZIG="$PREFIX/bin/zig" |
| 14 | 13 | |
| 14 | ZIGDIR="$PWD" | |
| 15 | 15 | if [ ! -d "$PREFIX" ]; then |
| 16 | 16 | cd $HOME |
| 17 | 17 | curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz" |
| 18 | 18 | tar xf "$CACHE_BASENAME.tar.xz" |
| 19 | 19 | fi |
| 20 | ||
| 21 | 20 | cd $ZIGDIR |
| 22 | 21 | |
| 22 | export PATH="$HOME/local/bin:$PATH" | |
| 23 | ||
| 23 | 24 | # Override the cache directories because they won't actually help other CI runs |
| 24 | 25 | # which will be testing alternate versions of zig, and ultimately would just |
| 25 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | 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 | 9 | function CheckLastExitCode { |
| 8 | 10 | if (!$?) { |
| 9 | 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 | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | 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 | 9 | function CheckLastExitCode { |
| 8 | 10 | if (!$?) { |
| 9 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 14 | 16 | # Override the cache directories because they won't actually help other CI runs |
| 15 | 17 | # which will be testing alternate versions of zig, and ultimately would just |
| 16 | 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 | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | 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 | 9 | function CheckLastExitCode { |
| 8 | 10 | if (!$?) { |
| 9 | 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 | 4 | $ZIG = "$PREFIX_PATH\bin\zig.exe" |
| 5 | 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 | 9 | function CheckLastExitCode { |
| 8 | 10 | if (!$?) { |
| 9 | 11 | exit 1 |