19
19
Redhat.7.Amd64.Open
20
20
. PARAMETER RunQuarantinedTests
21
21
By default quarantined tests are not run. Set this to $true to run only the quarantined tests.
22
+ . PARAMETER TargetArchitecture
23
+ The CPU architecture to build for (x64, x86, arm). Default=x64
24
+ . PARAMETER MSBuildArguments
25
+ Additional MSBuild arguments to be passed through.
22
26
#>
27
+ [CmdletBinding (PositionalBinding = $false )]
23
28
param (
24
29
[Parameter (Mandatory = $true )]
25
30
[string ]$Project ,
31
+
26
32
[string ]$HelixQueues = " Windows.10.Amd64.Open" ,
33
+ [switch ]$RunQuarantinedTests ,
34
+
35
+ [ValidateSet (' x64' , ' x86' , ' arm' , ' arm64' )]
27
36
[string ]$TargetArchitecture = " x64" ,
28
- [bool ]$RunQuarantinedTests = $false
37
+
38
+ # Capture the rest
39
+ [Parameter (ValueFromRemainingArguments = $true )]
40
+ [string []]$MSBuildArguments
29
41
)
42
+
30
43
$ErrorActionPreference = ' Stop'
31
44
$ProgressPreference = ' SilentlyContinue' # Workaround PowerShell/PowerShell#2138
32
45
@@ -43,4 +56,5 @@ Write-Host -ForegroundColor Yellow "And if packing for a different platform, add
43
56
$HelixQueues = $HelixQueues -replace " ;" , " %3B"
44
57
dotnet msbuild $Project / t:Helix / p:TargetArchitecture= " $TargetArchitecture " / p:IsRequiredCheck= true `
45
58
/ p:IsHelixDaily= true / p:HelixTargetQueues= $HelixQueues / p:RunQuarantinedTests= $RunQuarantinedTests `
46
- / p:_UseHelixOpenQueues= true / p:CrossgenOutput= false / p:ASPNETCORE_TEST_LOG_DIR= artifacts/ log
59
+ / p:_UseHelixOpenQueues= true / p:CrossgenOutput= false / p:ASPNETCORE_TEST_LOG_DIR= artifacts/ log `
60
+ @MSBuildArguments
0 commit comments