mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Update additional places build configuration needs to be specified
This commit is contained in:
1 parent
3a02842ecb
commit
4ba6153c2a
1 file changed
+3
-2
+3
-2
@@ -17,6 +17,7 @@ install:
|
|||||||
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
|
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
|
||||||
- git config --global url.git@github.com:.insteadOf https://github.com/
|
- git config --global url.git@github.com:.insteadOf https://github.com/
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
|
- ps: $buildConfiguration = 'Release'
|
||||||
- ps: Import-Module .\build.psm1; Start-PSBootstrap -Force
|
- ps: Import-Module .\build.psm1; Start-PSBootstrap -Force
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
@@ -28,7 +29,7 @@ build_script:
|
|||||||
$result.Warnings
|
$result.Warnings
|
||||||
throw "Tags must be CI, Feature, Scenario, or Slow"
|
throw "Tags must be CI, Feature, Scenario, or Slow"
|
||||||
}
|
}
|
||||||
Start-PSBuild -CrossGen -Configuration Release
|
Start-PSBuild -CrossGen -Configuration $buildConfiguration
|
||||||
Start-PSBuild -FullCLR
|
Start-PSBuild -FullCLR
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
@@ -37,7 +38,7 @@ test_script:
|
|||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
#
|
#
|
||||||
# CoreCLR
|
# CoreCLR
|
||||||
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish))
|
$env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish -Configuration $buildConfiguratio))
|
||||||
Write-Host -Foreground Green 'Run CoreCLR tests'
|
Write-Host -Foreground Green 'Run CoreCLR tests'
|
||||||
$testResultsFile = "$pwd\TestsResults.xml"
|
$testResultsFile = "$pwd\TestsResults.xml"
|
||||||
& ("$env:CoreOutput\powershell.exe") -noprofile -noninteractive -c "Set-ExecutionPolicy -Scope Process Unrestricted; Invoke-Pester test/powershell -Tag 'CI' -ExcludeTag 'Slow' -OutputFormat NUnitXml -OutputFile $testResultsFile"
|
& ("$env:CoreOutput\powershell.exe") -noprofile -noninteractive -c "Set-ExecutionPolicy -Scope Process Unrestricted; Invoke-Pester test/powershell -Tag 'CI' -ExcludeTag 'Slow' -OutputFormat NUnitXml -OutputFile $testResultsFile"
|
||||||
|
|||||||
Reference in new issue
Block a user