Skip to content

Commit 3f2cf1c

Browse files
committed
CI: skip test-incremental on Windows
Tracked by #22510
1 parent c9a788c commit 3f2cf1c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

build.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ pub fn build(b: *std.Build) !void {
9797
const skip_darwin = b.option(bool, "skip-darwin", "Main test suite skips targets with darwin OSs") orelse false;
9898
const skip_linux = b.option(bool, "skip-linux", "Main test suite skips targets with linux OS") orelse false;
9999
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

101102
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 {
609610

610611
const test_incremental_step = b.step("test-incremental", "Run the incremental compilation test cases");
611612
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

614615
if (tests.addLibcTests(b, .{
615616
.optimize_modes = optimization_modes,

ci/x86_64-windows-debug.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Write-Output "Main test suite..."
5959
-Dstatic-llvm `
6060
-Dskip-non-native `
6161
-Dskip-release `
62+
-Dskip-test-incremental `
6263
-Denable-symlinks-windows `
6364
--test-timeout 30m
6465
CheckLastExitCode

ci/x86_64-windows-release.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Write-Output "Main test suite..."
5858
--search-prefix "$PREFIX_PATH" `
5959
-Dstatic-llvm `
6060
-Dskip-non-native `
61+
-Dskip-test-incremental `
6162
-Denable-symlinks-windows `
6263
--test-timeout 30m
6364
CheckLastExitCode

0 commit comments

Comments
 (0)