change the default windows RID to win7-<arch> (#4701)

This commit is contained in:
Travis Plunk 2017-08-29 17:21:50 -07:00 committed by GitHub
parent dc399a121b
commit bd42fe95b4
2 changed files with 8 additions and 1 deletions

View file

@ -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 {

View file

@ -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"