-
Notifications
You must be signed in to change notification settings - Fork 32
/
appveyor.yml
50 lines (50 loc) · 1.32 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
44
45
46
47
48
49
50
version: 4.0.{build}
build_cloud: WIN-LKR467JS4GL
image: Windows
configuration:
- Release
platform:
- x64
branches:
only:
- master
- devel
except:
- gh-pages
environment:
my_secret:
secure: YGaqkdOie3jHmiPzLfBcoQGdNaYYM+Zk/o1wwt2ic0s=
my_salt:
secure: rORyotKcYbZPwydKSo748LJ1wLS3A9N88DFmN0AjrDT6oTtideySaKNxAIyMCqaKqOxoplfUrCQSW2jUUOV+fQ==
install:
- cmd: git submodule -q update --init
- cmd: choco install advanced-installer
- cmd: vpatch --stamp-version "%APPVEYOR_BUILD_VERSION%" --target-file ".\CommonProjectProperties.targets" --csproj.assembly-version --csproj.file-version --csproj.version
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
- cmd: appveyor-tools\secure-file -decrypt .\Installer\AppVeyor_ProductKey.txt.enc -secret %my_secret% -salt %my_salt%
before_build:
- dotnet restore
skip_commits:
files:
- doc/*
- .github/*
- extras/*
- '**/*.md'
- '**/*.png'
- '**/*.jpg'
- '**/*.aip'
build_script:
- ps: Installer/Build.ps1
after_build:
- ps: Installer/PostBuild.ps1
test: off
artifacts:
- path: "artifacts\\Vapour*.exe"
name: $(APPVEYOR_PROJECT_NAME)
- path: "artifacts\\Publish.zip"
name: "Source"
deploy:
- provider: Environment
name: BUILDBOT
on:
appveyor_repo_tag: true