-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppVeyor.CI.yml
53 lines (39 loc) · 1.37 KB
/
AppVeyor.CI.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
#---------------------------------#
# General Configuration #
#---------------------------------#
# Build version format
version: '{build}-{branch}'
# Don't trigger a build when a commit is tagged
skip_tags: true
# Set clone depth (we don't need history to build)
clone_depth: 1
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# Environment Configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2019 Preview
# Scripts that are called at very beginning, before repo cloning
init:
# Good practice, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
# Scripts that are called after repo cloning, but before building
install:
- cmd: git submodule update --init --recursive
#---------------------------------#
# Build Configuration #
#---------------------------------#
# Run custom scripts instead of automatic MSBuild
build_script:
- ps: ./build.ps1 -T BuildFromScratch
#---------------------------------#
# Test Configuration #
#---------------------------------#
# Run custom scripts instead of automatic tests
test_script:
- ps: ./build.ps1 -T Test
#---------------------------------#
# Deployment Configuration #
#---------------------------------#
deploy: off