mirror of
https://github.com/PowerShell/PSReadLine
synced 2026-06-08 12:12:13 +00:00
27 lines
669 B
YAML
27 lines
669 B
YAML
|
|
image: Visual Studio 2017
|
|
|
|
environment:
|
|
POWERSHELL_TELEMETRY_OPTOUT: 1
|
|
# Avoid expensive initialization of dotnet cli, see: http://donovanbrown.com/post/Stop-wasting-time-during-NET-Core-builds
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
|
PSREADLINE_TESTRUN: 1
|
|
|
|
cache:
|
|
- '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> tools\helper.psm1'
|
|
|
|
install:
|
|
- pwsh: |
|
|
Write-Host "PS Version: $($($PSVersionTable.PSVersion))"
|
|
./build.ps1 -Bootstrap
|
|
|
|
build_script:
|
|
- pwsh: |
|
|
./build.ps1 -Configuration Release -Framework net462
|
|
|
|
test_script:
|
|
- pwsh: ./build.ps1 -Test -Configuration Release -Framework net462
|
|
|
|
artifacts:
|
|
- path: .\bin\Release\PSReadLine.zip
|