change the default windows RID to win7-<arch> (#4701)
This commit is contained in:
parent
dc399a121b
commit
bd42fe95b4
|
@ -641,6 +641,13 @@ function New-PSOptions {
|
|||
}
|
||||
}
|
||||
|
||||
# We plan to release packages targetting win7-x64 and win7-x86 RIDs,
|
||||
# which supports all supported windows platforms.
|
||||
# So we, will change the RID to win7-<arch>
|
||||
if ($Environment.IsWindows) {
|
||||
$Runtime = $Runtime -replace "win\d+", "win7"
|
||||
}
|
||||
|
||||
if (-not $Runtime) {
|
||||
Throw "Could not determine Runtime Identifier, please update dotnet"
|
||||
} else {
|
||||
|
|
|
@ -320,7 +320,7 @@ function Invoke-AppVeyorTest
|
|||
#
|
||||
# CoreCLR
|
||||
|
||||
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Configuration 'Release'))
|
||||
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (Get-PSOptions))
|
||||
Write-Host -Foreground Green 'Run CoreCLR tests'
|
||||
$testResultsNonAdminFile = "$pwd\TestsResultsNonAdmin.xml"
|
||||
$testResultsAdminFile = "$pwd\TestsResultsAdmin.xml"
|
||||
|
|
Loading…
Reference in a new issue