Add back -Configuration 'Release' to make sure AppVeyor CIs produce 'Release' bits (#2773)

This commit is contained in:
Dongbo Wang 2016-11-23 12:54:52 -08:00 committed by GitHub
parent ead4df4097
commit 6f92140886
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ nuget:
install:
- git submodule update --init
- ps: $buildConfiguration = 'Release'
- ps: Import-Module .\tools\Appveyor.psm1
- ps: Invoke-AppveyorInstall

View File

@ -164,7 +164,7 @@ function Invoke-AppVeyorBuild
}
Start-PSBuild -FullCLR -PSModuleRestore
Start-PSBuild -CrossGen -PSModuleRestore
Start-PSBuild -CrossGen -PSModuleRestore -Configuration 'Release'
}
# Implements the AppVeyor 'install' step
@ -285,7 +285,7 @@ function Invoke-AppVeyorTest
#
# CoreCLR
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish))
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish -Configuration 'Release'))
Write-Host -Foreground Green 'Run CoreCLR tests'
$testResultsNonAdminFile = "$pwd\TestsResultsNonAdmin.xml"
$testResultsAdminFile = "$pwd\TestsResultsAdmin.xml"