From faa485e630a6756277a385ec2937a7855e56a1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 13 Dec 2025 02:57:45 +0100 Subject: [PATCH 1/2] ci: build stage4 and run behavior tests with it on x86_64-linux-debug(-llvm) This was removed in 125a9aa82b55f8d1e2b6d08d61e697e6dfacbba6. But now that our x86_64-linux machines have had their resources properly allocated, resulting in runs taking 1-3 hours rather than 4-8, we can add this back. --- ci/x86_64-linux-debug-llvm.sh | 11 +++++++++++ ci/x86_64-linux-debug.sh | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/ci/x86_64-linux-debug-llvm.sh b/ci/x86_64-linux-debug-llvm.sh index 3a69718c1be6ebcb0c95616f190abdbc9f7bf2f8..a27e9d356598c1e75fe4081d903dbfa24e44e04f 100755 --- a/ci/x86_64-linux-debug-llvm.sh +++ b/ci/x86_64-linux-debug-llvm.sh @@ -66,3 +66,14 @@ stage3-debug/bin/zig build test docs \ --zig-lib-dir "$PWD/../lib" \ -Denable-superhtml \ --test-timeout 12m + +stage3-debug/bin/zig build \ + --prefix stage4-debug \ + -Duse-llvm \ + -Denable-llvm \ + -Dno-lib \ + -Dtarget=$TARGET \ + -Duse-zig-libcxx \ + -Dversion-string="$(stage3-debug/bin/zig version)" + +stage4-debug/bin/zig test ../test/behavior.zig diff --git a/ci/x86_64-linux-debug.sh b/ci/x86_64-linux-debug.sh index 0fc6605e59938d9d23068c0ef1e781699b51a865..734b4d095259044a5d57ccc2429616f04898322c 100755 --- a/ci/x86_64-linux-debug.sh +++ b/ci/x86_64-linux-debug.sh @@ -66,3 +66,13 @@ stage3-debug/bin/zig build test docs \ --zig-lib-dir "$PWD/../lib" \ -Denable-superhtml \ --test-timeout 10m + +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 -- 2.54.0 From 6f2e7afc306f9e1033085709fc046a2d4bd708db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 13 Dec 2025 02:38:23 +0100 Subject: [PATCH 2/2] ci: build stage4 and run behavior tests with it on aarch64-macos-debug We do this in most other debug jobs, so seems sensible to do here too. --- ci/aarch64-macos-debug.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ci/aarch64-macos-debug.sh b/ci/aarch64-macos-debug.sh index a0681430dce8cb81e0030e2c4d6d0c94f385aa39..7dc60c1f4ed13f8835538a2609955423ef8d551e 100755 --- a/ci/aarch64-macos-debug.sh +++ b/ci/aarch64-macos-debug.sh @@ -49,3 +49,13 @@ stage3-debug/bin/zig build test docs \ -Dskip-non-native \ --search-prefix "$PREFIX" \ --test-timeout 2m + +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 -- 2.54.0