mstch/appveyor.yml
2015-10-02 00:23:15 +02:00

29 lines
900 B
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"
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%"