@@ -38,9 +38,15 @@ The API Level to target when building the Android SDKs
3838. PARAMETER Android
3939When set, build android SDKs.
4040
41+ . PARAMETER AndroidSDKVersions
42+ An array of SDKs to build for the Android OS.
43+
4144. PARAMETER AndroidSDKArchitectures
4245An array of architectures for which the Android Swift SDK should be built.
4346
47+ . PARAMETER WindowsSDKVersions
48+ An array of SDKs to build for the Windows OS.
49+
4450. PARAMETER WindowsSDKArchitectures
4551An array of architectures for which the Windows Swift SDK should be built.
4652
@@ -106,7 +112,7 @@ Whether to run swift-foundation and swift-corelibs-foundation tests in a debug o
106112PS> .\Build.ps1
107113
108114. EXAMPLE
109- PS> .\Build.ps1 -WindowsSDKs x64 -ProductVersion 1.2.3 -Test foundation,xctest
115+ PS> .\Build.ps1 -WindowsSDKArchitectures x64 -ProductVersion 1.2.3 -Test foundation,xctest
110116#>
111117[CmdletBinding (PositionalBinding = $false )]
112118param
@@ -120,7 +126,9 @@ param
120126 [string ] $SwiftDebugFormat = " dwarf" ,
121127 [ValidateRange (1 , 36 )]
122128 [int ] $AndroidAPILevel = 28 ,
129+ [string []] $AndroidSDKVersions = @ (" Android" , " AndroidExperimental" ),
123130 [string []] $AndroidSDKArchitectures = @ (),
131+ [string []] $WindowsSDKVersions = @ (" Windows" , " WindowsExperimental" ),
124132 [string []] $WindowsSDKArchitectures = @ (" X64" , " X86" , " Arm64" ),
125133 [string ] $ProductVersion = " 0.0.0" ,
126134 [string ] $ToolchainIdentifier = $ (if ($env: TOOLCHAIN_VERSION ) { $env: TOOLCHAIN_VERSION } else { " $env: USERNAME .development" }),
0 commit comments