-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
56 lines (32 loc) · 862 Bytes
/
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
version: '{build}'
os: Visual Studio 2017
install:
- cmd: >-
git submodule init
git submodule update
set "BOOST_ROOT=C:\Libraries\boost_1_65_1"
appveyor DownloadFile https://github.com/nlohmann/json/archive/v3.4.0.zip
7z x v3.4.0.zip
cd json-3.4.0
mkdir build
cd build
cmake .. -DJSON_BuildTests=OFF -G"Visual Studio 15 2017"
cmake --build . --target install
cd ../..
build_script:
- cmd: >-
mkdir build
cd build
cmake -Wno-dev -G"Visual Studio 15 2017" ..
cmake --build . --config Release
cmake --build . --target install --config Release
test_script:
- cmd: >-
cd test
Release\unit.exe
Release\compliance.exe
cd ..\..\example
mkdir build & cd build
cmake -G"Visual Studio 15 2017" ..
cmake --build . --config Release
Release\example.exe