forked from c42f/tinyformat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (42 loc) · 1.24 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
# Windows CI build via the Appveyor service
version: '{build}'
# branches to build
branches:
only:
- master
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# Build matrix variables -
# * environment
# * platform
# * configuration
environment:
matrix:
- COMPILER: "Visual Studio 12 Win64"
- COMPILER: "Visual Studio 14 Win64"
- COMPILER: "Visual Studio 15 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# build platform, i.e. x86, x64, Any CPU.
platform:
- x86
- x64
# build Configuration, i.e. Debug, Release, etc.
configuration:
- Debug
- Release
before_build:
- echo --------------------------------------------------------------------------------
- echo Appveyor environment info:
- echo COMPILER = %COMPILER%, CONFIGURATION = %CONFIGURATION%
- cmake -h
build_script:
- echo --------------------------------------------------------------------------------
- echo Build tinyformat
- mkdir build
- cd build
- cmake -G "%COMPILER%" ..
- cmake --build . --config %CONFIGURATION%
test_script:
# cmake testall target has problems finding the correct configuration, so use ctest directly.
- ctest -VV -C %CONFIGURATION%