Skip to content

Commit d69e9e5

Browse files
committed
Try bumping foundation tests to 8 jobs
1 parent 43df44d commit d69e9e5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

utils/build.ps1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2850,8 +2850,10 @@ function Test-Foundation {
28502850
-Src $SourceCache\swift-foundation `
28512851
-Bin "$ScratchPath" `
28522852
-Platform $BuildPlatform `
2853+
-Configuration $FoundationTestConfiguration `
28532854
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
2854-
--test-product swift-foundationPackageTests
2855+
--test-product swift-foundationPackageTests `
2856+
-j 2 # Running too parallel causes a non-deterministic crash in CI only, see https://github.com/swiftlang/swift/issues/83606
28552857

28562858
Invoke-IsolatingEnvVars {
28572859
$env:DISPATCH_INCLUDE_PATH="$(Get-SwiftSDK $BuildPlatform.OS)/usr/include"
@@ -2865,8 +2867,10 @@ function Test-Foundation {
28652867
-Src $SourceCache\swift-corelibs-foundation `
28662868
-Bin "$ScratchPath" `
28672869
-Platform $BuildPlatform `
2870+
-Configuration $FoundationTestConfiguration `
28682871
--multiroot-data-file "$SourceCache\swift\utils\build_swift\resources\SwiftPM-Unified-Build.xcworkspace" `
2869-
--test-product swift-corelibs-foundationPackageTests
2872+
--test-product swift-corelibs-foundationPackageTests `
2873+
-j 2 # Running too parallel causes a non-deterministic crash in CI only, see https://github.com/swiftlang/swift/issues/83606
28702874
}
28712875
}
28722876

0 commit comments

Comments
 (0)