PowerShell/appveyor.yml
Steve Lee 5dc7a6cb07 Add Windows Compatibility Pack 2.0.0 to PS Core and adopt the official .NET Core 2.1 (#6958)
To support PowerShell modules built with .NET Windows Compatibility Pack, we decided that it was best to ship the WCP assemblies with PS Core. This also adds many new .NET APIs be default while only adding ~3.5 MB additional disk footprint (to a ~137 MB install currently).
Also update the build to adopt the official .NET Core 2.1.
2018-06-03 22:06:26 -07:00

34 lines
735 B
YAML

# version is set in tools\appveyor.psm1 - Invoke-AppVeyorInstall
image: Visual Studio 2017
# cache version - netcoreapp.2.1-sdk.2.1.300
cache:
- '%LocalAppData%\Microsoft\dotnet -> appveyor.yml'
- '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> appveyor.yml'
nuget:
project_feed: true
environment:
POWERSHELL_TELEMETRY_OPTOUT: 1
install:
- git submodule update --init
- ps: Import-Module .\tools\Appveyor.psm1
- ps: Invoke-AppveyorInstall
build_script:
- ps: Invoke-AppveyorBuild
test_script:
- ps: Invoke-AppveyorTest
after_test:
- ps: Invoke-AppVeyorAfterTest
# Run the finish command and delete files which should not be in the cache
on_finish:
- ps: Invoke-AppveyorFinish
- ps: Invoke-AppVeyorCleanCache