From 413f5ba2a0e30ab7bbfe75e55cba2f47f6134677 Mon Sep 17 00:00:00 2001 From: Ben Barham Date: Tue, 8 Jul 2025 13:48:09 -0700 Subject: [PATCH 1/3] Only run foundation tests for faster builds --- utils/build.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index bd548250cc314..709ba28a44797 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -195,10 +195,11 @@ if ($AndroidSDKs.Length -gt 0) { $Android = $true } -if ($Test -contains "*") { - # Explicitly don't include llbuild yet since tests are known to fail on Windows - $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp") -} +#if ($Test -contains "*") { +# # Explicitly don't include llbuild yet since tests are known to fail on Windows +# $Test = @("lld", "lldb", "swift", "dispatch", "foundation", "xctest", "swift-format", "sourcekit-lsp") +#} +$Test = @("foundation") ## Declare static build and build tool parameters. From 29c2c2d07b0290726d6bf2c1c52d4aafe2ba9fb6 Mon Sep 17 00:00:00 2001 From: Ben Barham Date: Tue, 8 Jul 2025 13:49:22 -0700 Subject: [PATCH 2/3] Revert "[Build] Temporarily add -j 1 to swift-corelibs-foundation Windows build" This reverts commit c78fa4555583db37588fbf7fdf8433c000fa2014. --- utils/build.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index 709ba28a44797..1804a9bc0cd16 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -2585,8 +2585,7 @@ function Test-Foundation { -Src $SourceCache\swift-corelibs-foundation ` -Bin "$BinaryCache\$($BuildPlatform.Triple)\FoundationTests" ` -Platform $BuildPlatform ` - -Configuration $FoundationTestConfiguration ` - -j 1 + -Configuration $FoundationTestConfiguration } } From 6fbe5b15c32c976494ab143897639a4efd8c4353 Mon Sep 17 00:00:00 2001 From: Ben Barham Date: Wed, 9 Jul 2025 14:43:58 -0700 Subject: [PATCH 3/3] [DNM] Always have verbose SwiftPM logging --- utils/build.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index 1804a9bc0cd16..f369224f09738 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -1643,10 +1643,11 @@ function Build-SPMProject { } Test { $ActionName = "test" + $Arguments += @("-v") } TestParallel { $ActionName = "test" - $Arguments += @("--parallel") + $Arguments += @("--parallel", "-v") } }