forked from no1msd/mstch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
44 lines (36 loc) · 1.4 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
environment:
matrix:
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost\\lib32-msvc-12.0"
- GENERATOR: "Visual Studio 14 2015"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib32-msvc-14.0"
- GENERATOR: "Visual Studio 14 2015 Win64"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib64-msvc-14.0"
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost\\lib32-msvc-12.0"
- GENERATOR: "Visual Studio 14 2015"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib32-msvc-14.0"
- GENERATOR: "Visual Studio 14 2015 Win64"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib64-msvc-14.0"
install:
- git submodule init
- git submodule update
build_script:
- mkdir build
- cd build
- cmake "-G%GENERATOR%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON ..
- cmake --build . --config "%CONFIG%"
test_script:
- ctest --build-config "%CONFIG%"