authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-11-22 08:06:26-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-11-22 08:09:25-08:00
log3f2cf1c002a8eb46fa9beb9854c43174b5816e67
treea62c96fe07a171afec25511c15af24ca8de8b9a3
parentc9a788c85145da31d8e9a7ec49bb0ca39dc69389

CI: skip test-incremental on Windows

Tracked by #22510

3 files changed, 4 insertions(+), 1 deletions(-)

build.zig+2-1
...@@ -97,6 +97,7 @@ pub fn build(b: *std.Build) !void {...@@ -97,6 +97,7 @@ pub fn build(b: *std.Build) !void {
97 const skip_darwin = b.option(bool, "skip-darwin", "Main test suite skips targets with darwin OSs") orelse false;97 const skip_darwin = b.option(bool, "skip-darwin", "Main test suite skips targets with darwin OSs") orelse false;
98 const skip_linux = b.option(bool, "skip-linux", "Main test suite skips targets with linux OS") orelse false;98 const skip_linux = b.option(bool, "skip-linux", "Main test suite skips targets with linux OS") orelse false;
99 const skip_llvm = b.option(bool, "skip-llvm", "Main test suite skips targets that use LLVM backend") orelse false;99 const skip_llvm = b.option(bool, "skip-llvm", "Main test suite skips targets that use LLVM backend") orelse false;
100 const skip_test_incremental = b.option(bool, "skip-test-incremental", "Main test step omits dependency on test-incremental step") orelse false;
100101
101 const only_install_lib_files = b.option(bool, "lib-files-only", "Only install library files") orelse false;102 const only_install_lib_files = b.option(bool, "lib-files-only", "Only install library files") orelse false;
102103
...@@ -609,7 +610,7 @@ pub fn build(b: *std.Build) !void {...@@ -609,7 +610,7 @@ pub fn build(b: *std.Build) !void {
609610
610 const test_incremental_step = b.step("test-incremental", "Run the incremental compilation test cases");611 const test_incremental_step = b.step("test-incremental", "Run the incremental compilation test cases");
611 try tests.addIncrementalTests(b, test_incremental_step);612 try tests.addIncrementalTests(b, test_incremental_step);
612 test_step.dependOn(test_incremental_step);613 if (!skip_test_incremental) test_step.dependOn(test_incremental_step);
613614
614 if (tests.addLibcTests(b, .{615 if (tests.addLibcTests(b, .{
615 .optimize_modes = optimization_modes,616 .optimize_modes = optimization_modes,
ci/x86_64-windows-debug.ps1+1
...@@ -59,6 +59,7 @@ Write-Output "Main test suite..."...@@ -59,6 +59,7 @@ Write-Output "Main test suite..."
59 -Dstatic-llvm `59 -Dstatic-llvm `
60 -Dskip-non-native `60 -Dskip-non-native `
61 -Dskip-release `61 -Dskip-release `
62 -Dskip-test-incremental `
62 -Denable-symlinks-windows `63 -Denable-symlinks-windows `
63 --test-timeout 30m64 --test-timeout 30m
64CheckLastExitCode65CheckLastExitCode
ci/x86_64-windows-release.ps1+1
...@@ -58,6 +58,7 @@ Write-Output "Main test suite..."...@@ -58,6 +58,7 @@ Write-Output "Main test suite..."
58 --search-prefix "$PREFIX_PATH" `58 --search-prefix "$PREFIX_PATH" `
59 -Dstatic-llvm `59 -Dstatic-llvm `
60 -Dskip-non-native `60 -Dskip-non-native `
61 -Dskip-test-incremental `
61 -Denable-symlinks-windows `62 -Denable-symlinks-windows `
62 --test-timeout 30m63 --test-timeout 30m
63CheckLastExitCode64CheckLastExitCode