authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-09 13:38:31+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-09 18:22:16+02:00
loga644be7ee0ae6d34edf009f4f837ef126e888925
tree8ba0cfaaae4aa465f64e5c4aeccfe781f9e5353e
parent2f30d5b9a891e2db1c953c3710aca286206b9e9d
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

ci: add $HOME/local/bin to PATH in all scripts

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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# fill up space on the hard drive for no reason.
ci/aarch64-macos-debug.sh+3-2
......@@ -5,21 +5,22 @@
55set -x
66set -e
77
8ZIGDIR="$PWD"
98TARGET="aarch64-macos-none"
109MCPU="baseline"
1110CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523"
1211PREFIX="$HOME/$CACHE_BASENAME"
1312ZIG="$PREFIX/bin/zig"
1413
14ZIGDIR="$PWD"
1515if [ ! -d "$PREFIX" ]; then
1616 cd $HOME
1717 curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz"
1818 tar xf "$CACHE_BASENAME.tar.xz"
1919fi
20
2120cd $ZIGDIR
2221
22export PATH="$HOME/local/bin:$PATH"
23
2324# Override the cache directories because they won't actually help other CI runs
2425# which will be testing alternate versions of zig, and ultimately would just
2526# fill up space on the hard drive for no reason.
ci/aarch64-macos-release.sh+3-2
......@@ -5,21 +5,22 @@
55set -x
66set -e
77
8ZIGDIR="$PWD"
98TARGET="aarch64-macos-none"
109MCPU="baseline"
1110CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523"
1211PREFIX="$HOME/$CACHE_BASENAME"
1312ZIG="$PREFIX/bin/zig"
1413
14ZIGDIR="$PWD"
1515if [ ! -d "$PREFIX" ]; then
1616 cd $HOME
1717 curl -L -O "https://ziglang.org/deps/$CACHE_BASENAME.tar.xz"
1818 tar xf "$CACHE_BASENAME.tar.xz"
1919fi
20
2120cd $ZIGDIR
2221
22export PATH="$HOME/local/bin:$PATH"
23
2324# Override the cache directories because they won't actually help other CI runs
2425# which will be testing alternate versions of zig, and ultimately would just
2526# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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
44$ZIG = "$PREFIX_PATH\bin\zig.exe"
55$ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 }
66
7$Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH"
8
79function CheckLastExitCode {
810 if (!$?) {
911 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
44$ZIG = "$PREFIX_PATH\bin\zig.exe"
55$ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 }
66
7$Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH"
8
79function CheckLastExitCode {
810 if (!$?) {
911 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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"
1111PREFIX="$HOME/deps/$CACHE_BASENAME"
1212ZIG="$PREFIX/bin/zig"
1313
14export PATH="$HOME/local/bin:$PATH"
15
1416# Override the cache directories because they won't actually help other CI runs
1517# which will be testing alternate versions of zig, and ultimately would just
1618# 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
44$ZIG = "$PREFIX_PATH\bin\zig.exe"
55$ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 }
66
7$Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH"
8
79function CheckLastExitCode {
810 if (!$?) {
911 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
44$ZIG = "$PREFIX_PATH\bin\zig.exe"
55$ZSF_MAX_RSS = if ($Env:ZSF_MAX_RSS) { $Env:ZSF_MAX_RSS } else { 0 }
66
7$Env:PATH = "$($Env:USERPROFILE)\local\bin;$Env:PATH"
8
79function CheckLastExitCode {
810 if (!$?) {
911 exit 1