-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
100 lines (77 loc) · 2.53 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 1.0.{build}
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2015
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# clone directory
clone_folder: c:\projects\paxz-wcx
# clone only last commit history
clone_depth: 1
environment:
matrix:
- TOOLCHAIN: vs2008
CONFIGURATION: Release
- TOOLCHAIN: vs2008
CONFIGURATION: Debug
# this is how to allow failing jobs in the matrix
matrix:
fast_finish: false # do not stop on error
# scripts that run after cloning repository
install:
- call build\appveyor\get-version.bat
- call build\appveyor\set-env.bat
- git submodule update --depth 1 --init --recursive
#---------------------------------#
# build configuration #
#---------------------------------#
# scripts to run before build
#before_build:
# to run your custom scripts instead of automatic MSBuild
build_script:
- call build\appveyor\build.bat
# scripts to run after build (working directory and environment changes are persisted from the previous steps)
after_build:
- call build\appveyor\gen-distr.bat
# scripts to run *after* solution is built and *before* automatic packaging occurs
#before_package:
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'out\wcx*.zip'
name: deploy_file
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
provider: GitHub
artifact: deploy_file
description: $(DEPLOY_DESC)
release: $(DEPLOY_NAME)
tag: $(DEPLOY_TAG)
draft: $(DEPLOY_DRAFT)
prerelease: $(DEPLOY_PREREL)
auth_token:
secure: 5eARyBFpqVn/Q2LPwiD5/YpEHXaEEnZ9Tv4YKQQJ8JzJr0/3DmvNhDOy2do8NMal
force_update: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only
# scripts to run before deployment
#before_deploy:
# to run your custom scripts instead of provider deployments
#deploy_script:
# scripts to run after deployment
#after_deploy: