-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
99 lines (62 loc) · 2.03 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: 1.0.{build}
image:
- Previous Visual Studio 2017
- Visual Studio 2017
- Ubuntu1604
- Ubuntu1804
- Ubuntu2004
clone_depth: 1
for:
-
matrix:
only:
- image: ubuntu1804
environment:
CC: /usr/bin/gcc-8
CXX: /usr/bin/g++-8
before_build:
- git clone https://github.com/dtmoodie/cereal -b v1.3.0
- git clone https://github.com/eigenteam/eigen-git-mirror
- cd eigen-git-mirror
- git checkout 3.3.7
- cd ..
- git submodule update --init --recursive
- cmd: >-
if not exist "build" mkdir build
cd build
cmake .. -DBOOST_ROOT=C:\Libraries\boost_1_67_0 -DBOOST_LIBRARYDIR=C:\Libraries\boost_1_67_0\stage\lib -Dcereal_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%/cereal/include -DBUILD_EXAMPLES=OFF -DEIGEN3_INCLUDE_DIRS=%APPVEYOR_BUILD_FOLDER%/eigen-git-mirror/ -Dgtest_force_shared_crt=ON
- sh: >-
mkdir -p build
cd build
cmake .. -Dcereal_INCLUDE_DIR=$APPVEYOR_BUILD_FOLDER/cereal/include
build_script:
- cmd: >-
msbuild ct.sln
- sh: make
test_script:
- cmd: >-
cd tests
hash\debug\test_ct_string_hash.exe
string\debug\test_ct_string_static.exe
variadic_typedef\debug\test_ct_variadic_typedef.exe
type_trait_detectors\debug\test_ct_type_traits.exe
reflect\debug\test_ct_reflect_print.exe
reflect\debug\test_ct_reflect_access.exe
reflect\debug\test_ct_reflect_compare.exe
reflect\debug\test_ct_reflect_cerealize.exe
reflect\debug\test_ct_get_name.exe
enum\debug\test_ct_enum.exe
python/test_ct_python
- sh: >-
cd tests
hash/test_ct_string_hash
string/test_ct_string_static
variadic_typedef/test_ct_variadic_typedef
type_trait_detectors/test_ct_type_traits
reflect/test_ct_reflect_print
reflect/test_ct_reflect_access
reflect/test_ct_reflect_compare
reflect/test_ct_reflect_cerealize false
enum/test_ct_enum
reflect/test_ct_get_name
python/test_ct_python