mstch/.appveyor.yml

45 lines
1.4 KiB
YAML
Raw Normal View History

2015-10-01 17:17:01 +08:00
environment:
matrix:
2015-10-02 06:16:07 +08:00
- GENERATOR: "Visual Studio 12 2013"
CONFIG: Release
BOOST_ROOT: "C:\\Libraries\\boost"
BOOST_LIBRARYDIR: "C:\\Libraries\\boost\\lib32-msvc-12.0"
2015-10-02 05:45:59 +08:00
- GENERATOR: "Visual Studio 14 2015"
2015-10-02 00:21:20 +08:00
CONFIG: Release
2015-10-02 06:03:51 +08:00
BOOST_ROOT: "C:\\Libraries\\boost_1_59_0"
2015-10-02 06:05:55 +08:00
BOOST_LIBRARYDIR: "C:\\Libraries\\boost_1_59_0\\lib32-msvc-14.0"
2015-10-01 17:17:01 +08:00
2015-10-02 06:16:07 +08:00
- 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"
2015-10-02 19:09:26 +08:00
- 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"
2015-10-01 18:01:39 +08:00
install:
- git submodule init
- git submodule update
2015-10-01 17:17:01 +08:00
build_script:
- mkdir build
- cd build
2015-10-02 05:55:47 +08:00
- cmake "-G%GENERATOR%" -DBOOST_ROOT="%BOOST_ROOT%" -DBOOST_LIBRARYDIR="%BOOST_LIBRARYDIR%" -DBoost_USE_STATIC_LIBS=ON -DWITH_UNIT_TESTS=ON ..
2015-10-01 17:17:01 +08:00
- cmake --build . --config "%CONFIG%"
2015-10-01 18:50:40 +08:00
test_script:
2015-10-01 18:54:34 +08:00
- ctest --build-config "%CONFIG%"