diff --git a/appveyor.yml b/appveyor.yml index 2682dd6184..1da244c856 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,7 +10,6 @@ nuget: install: - git submodule update --init - - ps: $buildConfiguration = 'Release' - ps: Import-Module .\tools\Appveyor.psm1 - ps: Invoke-AppveyorInstall diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index 4fe0c24963..06d92570ad 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -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"