@@ -38,9 +38,15 @@ The API Level to target when building the Android SDKs
38
38
. PARAMETER Android
39
39
When set, build android SDKs.
40
40
41
+ . PARAMETER AndroidSDKVersions
42
+ An array of SDKs to build for the Android OS.
43
+
41
44
. PARAMETER AndroidSDKArchitectures
42
45
An array of architectures for which the Android Swift SDK should be built.
43
46
47
+ . PARAMETER WindowsSDKVersions
48
+ An array of SDKs to build for the Windows OS.
49
+
44
50
. PARAMETER WindowsSDKArchitectures
45
51
An array of architectures for which the Windows Swift SDK should be built.
46
52
@@ -106,7 +112,7 @@ Whether to run swift-foundation and swift-corelibs-foundation tests in a debug o
106
112
PS> .\Build.ps1
107
113
108
114
. 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
110
116
#>
111
117
[CmdletBinding (PositionalBinding = $false )]
112
118
param
@@ -120,7 +126,9 @@ param
120
126
[string ] $SwiftDebugFormat = " dwarf" ,
121
127
[ValidateRange (1 , 36 )]
122
128
[int ] $AndroidAPILevel = 28 ,
129
+ [string []] $AndroidSDKVersions = @ (" Android" , " AndroidExperimental" ),
123
130
[string []] $AndroidSDKArchitectures = @ (),
131
+ [string []] $WindowsSDKVersions = @ (" Windows" , " WindowsExperimental" ),
124
132
[string []] $WindowsSDKArchitectures = @ (" X64" , " X86" , " Arm64" ),
125
133
[string ] $ProductVersion = " 0.0.0" ,
126
134
[string ] $ToolchainIdentifier = $ (if ($env: TOOLCHAIN_VERSION ) { $env: TOOLCHAIN_VERSION } else { " $env: USERNAME .development" }),
0 commit comments