forked from log4cplus/log4cplus
-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
44 lines (39 loc) · 1.21 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
version: 2.0.0.{build}
install:
- git submodule update --init --recursive
environment:
matrix:
#
# >>> Enable for 1.x
# - PRJ_GEN: "Visual Studio 11 2012 Win64"
# BDIR: msvc2012
# PRJ_CFG: Release
- PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013
PRJ_CFG: Release
PARAMS: ''
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015
PRJ_CFG: Release
PARAMS: ''
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015clang
PRJ_CFG: Release
PARAMS: -T "v140_clang_c2"
# - PRJ_GEN: "Visual Studio 15 2017 Win64"
# BDIR: msvc2017
# PRJ_CFG: Release
# PARAMS: ''
# image: Visual Studio 2017
# - PRJ_GEN: "Visual Studio 15 2017 Win64"
# BDIR: msvc2017clang
# PRJ_CFG: Release
# PARAMS: -T "v141_clang_c2"
# image: Visual Studio 2017
build_script:
- mkdir build.%BDIR%
- cd build.%BDIR%
- cmake .. -G "%PRJ_GEN%" "-DCMAKE_BUILD_TYPE=%PRJ_CFG%" %PARAMS%
- cmake --build . --config "%PRJ_CFG%" --clean-first
test_script:
- ctest -V --output-on-failure -C %PRJ_CFG%