5dc7a6cb07
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.
34 lines
735 B
YAML
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
|