-
Notifications
You must be signed in to change notification settings - Fork 109
/
appveyor.yml
60 lines (43 loc) · 1.45 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
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 0.1.{build}-{branch}
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Including commits with particular message or from specific user
only_commits:
message: /build/ # Start a new build if message contains '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\TinyAntivirus
# environment variables
environment:
SAMPLE_DIR: c:\projects\TinyAntivirus\tests\samples
CONFIGURATION: Release
matrix:
- PLATFORM: x86
- PLATFORM: x64
#---------------------------------#
# build configuration #
#---------------------------------#
# scripts to run before build
before_build:
- cmd: git submodule update --init --recursive
# run custom scripts instead of automatic MSBuild
build_script:
- cmd: ci\windows\build_appveyor.bat %PLATFORM% %CONFIGURATION%
#---------------------------------#
# tests configuration #
#---------------------------------#
# run custom scripts instead of automatic tests
test_script:
- cmd: ci\windows\test_appveyor.bat %PLATFORM% %CONFIGURATION%
deploy: off