-
Notifications
You must be signed in to change notification settings - Fork 66
/
.appveyor.yml
49 lines (39 loc) · 1.46 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
# Copyright 2015 Adobe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
# Based on a version by Louis Dionne
shallow_clone: true
image:
- Visual Studio 2017
build:
verbosity: detailed
configuration:
- Debug
platform:
- x64
branches:
except:
- /pr\/.+/
install:
############################################################################
# All external dependencies are installed in C:\projects\deps
############################################################################
- mkdir C:\projects\deps
- cd C:\projects\deps
############################################################################
# Install a recent CMake
############################################################################
# - set CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.zip"
# - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
# - 7z x cmake.zip -oC:\projects\deps > nul
# - move C:\projects\deps\cmake-* C:\projects\deps\cmake # Move to a version-agnostic directory
# - set PATH=C:\projects\deps\cmake\bin;%PATH%
- cmake --version
build_script:
- cd C:\projects\libraries
- IF EXIST build RMDIR /S /Q build
- MKDIR build
- cd build
- cmake -G "Visual Studio 15 2017 Win64" -D BOOST_ROOT=C:/Libraries/boost_1_65_1 -D CMAKE_BUILD_TYPE=debug -D Boost_USE_STATIC_LIBS=ON ..
- cmake --build . --config Release
- ctest -C Release