aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-03-27 00:21:17 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-03-27 00:22:54 +0100
commit09783b8544fe69e7a52ed7bee4e74cd510a217be (patch)
treef3d63ac2e8088e383e7776ffd52a33398203100c
parent27108cc99e46c354a1f0284aef40cdfee4eddfad (diff)
downloadzig-09783b8544fe69e7a52ed7bee4e74cd510a217be.tar.gz
zig-09783b8544fe69e7a52ed7bee4e74cd510a217be.zip
ci: Build stage4 and run behavior tests with it on aarch64-linux-debug.
This ensures that we at least have some relatively lightweight coverage of building and using stage4 from a newly built stage3.
-rwxr-xr-xci/aarch64-linux-debug.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/aarch64-linux-debug.sh b/ci/aarch64-linux-debug.sh
index b63614ffe2..143dd7c1c9 100755
--- a/ci/aarch64-linux-debug.sh
+++ b/ci/aarch64-linux-debug.sh
@@ -56,3 +56,13 @@ stage3-debug/bin/zig build test docs \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
-Denable-superhtml
+
+stage3-debug/bin/zig build \
+ --prefix stage4-debug \
+ -Denable-llvm \
+ -Dno-lib \
+ -Dtarget=$TARGET \
+ -Duse-zig-libcxx \
+ -Dversion-string="$(stage3-debug/bin/zig version)"
+
+stage4-debug/bin/zig test ../test/behavior.zig