-
Notifications
You must be signed in to change notification settings - Fork 56
/
appveyor.yml
29 lines (25 loc) · 1 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
os: Visual Studio 2015
configuration: Release
# scripts to run before build
before_build:
- md C:\projects\zlib
- cd C:\projects\zlib
- appveyor DownloadFile https://github.com/madler/zlib/archive/v1.2.8.tar.gz
- 7z x v1.2.8.tar.gz -so | 7z x -si -ttar > nul
- cd zlib-1.2.8
- cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=C:\projects\zlib\install -DCMAKE_CONFIGURATION_TYPES=Release
- cmake --build . --config release
build_script:
- cd C:\projects\binmap
- md build
- cd build
- cmake -G "Visual Studio 14 2015" -DCMAKE_INSTALL_PREFIX=%P% \
-DZLIB_LIBRARY=C:\projects\zlib\zlib-1.2.8 -DZLIB_INCLUDE_DIR=C:\projects\zlib\zlib-1.2.8 \
-DBOOST_ROOT=C:\Libraries\boost_1_59_0 -DBOOST_LIBRARYDIR=C:\Libraries\boost_1_59_0\lib32-msvc-12.0 \
-DBINMAP_FULL=OFF \
-DCMAKE_CONFIGURATION_TYPES=Release \
..
- cmake --build . --config release
test: off
#test_script:
# - cmd: ctest --build-config %configuration% --parallel 4 --output-on-failure