Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 7bf5516

Browse files
authored
Update appveyor.yml to execute build.cmd and add nodejs as required toolset (#1372)
1 parent 2d98a18 commit 7bf5516

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

.appveyor.yml

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
init:
1+
init:
22
- git config --global core.autocrlf true
33
install:
4-
- ps: Install-Product node 6.9.2 x64
5-
# .NET Core SDK binaries
6-
# Download .NET Core 2.0 Preview 3 SDK and add to PATH
7-
- ps: $urlCurrent = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006857/dotnet-sdk-2.0.0-preview3-006857-win-x64.zip"
8-
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
9-
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
10-
- ps: $tempFileCurrent = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
11-
- ps: (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
12-
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
13-
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
4+
- ps: Install-Product node 6.9.2 x64
5+
branches:
6+
only:
7+
- master
8+
- release
9+
- dev
10+
- /^(.*\/)?ci-.*$/
11+
- /^rel\/.*/
12+
build_script:
13+
- ps: .\run.ps1 default-build
1414
clone_depth: 1
1515
environment:
1616
global:
1717
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1818
DOTNET_CLI_TELEMETRY_OPTOUT: 1
19+
test: off
1920
deploy: off
21+
os: Visual Studio 2017

korebuild.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
3-
"channel": "dev"
3+
"channel": "dev",
4+
"toolsets": {
5+
"nodejs": {
6+
"required": true,
7+
"minVersion": "6.9"
8+
}
9+
}
410
}

0 commit comments

Comments
 (0)