mstch/.appveyor.yml
Daniel Sipka 7555016cd1 rename
2015-10-18 00:17:32 +02:00

45 lines
1.4 KiB
YAML

environment:
matrix:
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost\\lib32-msvc-12.0"
- GENERATOR: "Visual Studio 14 2015"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib32-msvc-14.0"
- GENERATOR: "Visual Studio 14 2015 Win64"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib64-msvc-14.0"
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost\\lib32-msvc-12.0"
- GENERATOR: "Visual Studio 14 2015"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib32-msvc-14.0"
- GENERATOR: "Visual Studio 14 2015 Win64"
CONFIG: Debug
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib64-msvc-14.0"
install:
- git submodule init
- git submodule update
build_script:
- mkdir build
- cd build
- cmake "-G%GENERATOR%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON ..
- cmake --build . --config "%CONFIG%"
test_script:
- ctest --build-config "%CONFIG%"