-
Notifications
You must be signed in to change notification settings - Fork 240
/
appveyor.yml
43 lines (36 loc) · 1.26 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 0.4.6.{build}
os: Visual Studio 2017
install:
- if not exist dotnet-sdk-2.1.300-win-x64.zip appveyor DownloadFile https://download.microsoft.com/download/8/8/5/88544F33-836A-49A5-8B67-451C24709A8F/dotnet-sdk-2.1.300-win-x64.zip -FileName "dotnet-sdk-2.1.300-win-x64.zip"
- cmd: 7z x dotnet-sdk-2.1.300-win-x64.zip -oc:\dotnet
before_build:
- cmd: git submodule update --init --recursive
- cmd: path c:\dotnet
- cmd: dotnet --info
build_script:
- cmd: dotnet --info
- ps: $url1='https://img.shields.io/badge/version-v0.4.6' + $env:APPVEYOR_BUILD_NUMBER + '-blue.svg'
- ps: .\download.ps1 $url1 "latest-version-badge.svg"
- cmd: dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\"
- cmd: dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\"
- ps: .\build.ps1
test: off
artifacts:
- path: artifacts/zip/*.zip
- path: artifacts/nuget/*.nupkg
- path: latest-version-badge.svg
deploy:
- provider: Environment
name: FastRing
on:
branch: master
APPVEYOR_REPO_TAG: true
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/e8ce2449e773a183903b
method: POST
on_build_success: true
on_build_failure: true
on_build_status_changed: true
cache:
dotnet-sdk-2.1.300-win-x64.zip