PowerShell/appveyor.yml
Ilya 84344cbb32 Update PowerShell to build with .NET Core SDK 2.1.300-rc1-008662 (#6718)
* Build Update
- Change `TargetFramework` to `netcoreapp2.1` and removed unnecessary `RuntimeFrameworkVersion` from `PowerShell.Common.props`
- Update dotnet SDK to 2.1.300-rc1-008662
- Update `TypeGen` target in `Build.psm1` to work with 2.1
- Rename macOS runtime to `osx-x64` as the old build logic expects 10.12 and breaks running on 10.13 system.
- Remove `PackageReference` to `System.Memory` as it's part of dotnetcore 2.1
- Update search for `crossgen` executable to find the matching version

* Test Update
- Update test tools `WebListener` to latest `asp.net core`
- Marked `AuthHeader Redirect` tests as `Pending` due to change in CoreFX
2018-05-02 16:58:39 -07:00

32 lines
637 B
YAML

# version is set in tools\appveyor.psm1 - Invoke-AppVeyorInstall
image: Visual Studio 2017
# cache version - netcoreapp.2.1-sdk.2.1.300-rc1-008662
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
on_finish:
- ps: Invoke-AppveyorFinish