-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
27 lines (24 loc) · 1.01 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
os: Visual Studio 2015
environment:
global:
# disable telemetry to speedup build (cold cache)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
matrix:
- CLI_VERSION: 1.0.0-preview2-003121 # released preview2
#- CLI_VERSION: Latest
install:
# .NET Core SDK binaries
- ps: $url = "https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/$($env:CLI_VERSION)/dotnet-dev-win-x64.$($env:CLI_VERSION.ToLower()).zip"
# Download .NET Core SDK and add to PATH
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: $tempFile = [System.IO.Path]::GetTempFileName()
- ps: (New-Object System.Net.WebClient).DownloadFile($url, $tempFile)
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFile, $env:DOTNET_INSTALL_DIR)
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
build_script:
# dotnet info
- ps: dotnet --info
# Run build
- ps: .\build.ps1 build
- ps: .\build.ps1 test