-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
50 lines (44 loc) · 1.63 KB
/
appveyor.yml
File metadata and controls
50 lines (44 loc) · 1.63 KB
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
# ##############################################################################
# appveyor.yml
#
# Appveyor CI integration file
#
# Copyright Chris Glover 2014-2015
#
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt
#
# ##############################################################################
os:
- Visual Studio 2015
environment:
matrix:
- GENERATOR: "Visual Studio 14"
CONFIG: Debug
CMAKE_OPTS: "-DENTITY_ENABLE_PERFORMANCE_TESTS=OFF"
CODE_GEN: x86
- GENERATOR: "Visual Studio 14"
CONFIG: Release
CMAKE_OPTS: "-DENTITY_ENABLE_PERFORMANCE_TESTS=OFF"
CODE_GEN: x86
- GENERATOR: "Visual Studio 14 Win64"
CONFIG: Debug
CMAKE_OPTS: "-DENTITY_BUILD_TESTS=OFF"
CODE_GEN: x86_64
- GENERATOR: "Visual Studio 14 Win64"
CONFIG: Release
CMAKE_OPTS: "-DENTITY_BUILD_TESTS=OFF"
CODE_GEN: x86_64
build_script:
- ps: (new-object net.webclient).DownloadFile("https://github.com/cdglove/boost-install/raw/master/boost_1_59-entity-win32-$env:CODE_GEN.zip", "C:\boost.zip")
- ps: Add-Type -A System.IO.Compression.FileSystem
- ps: "[IO.Compression.ZipFile]::ExtractToDirectory('C:\\boost.zip', 'C:\\')"
- cmd: set BOOST_INCLUDEDIR=c:\boost_1_59-entity-win32-%CODE_GEN%\include\boost-1_59\
- cmd: set BOOST_LIBRARYDIR=c:\boost_1_59-entity-win32-%CODE_GEN%\lib\
- cmd: call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
- cmake "-G%GENERATOR%" %CMAKE_OPTS% -H. -B_builds
- cmake --build _builds --config "%CONFIG%"
test_script:
- ps: cd _builds
- ctest -VV -C "%CONFIG%"