mstch/appveyor.yml

20 lines
531 B
YAML
Raw Normal View History

2015-10-01 17:17:01 +08:00
environment:
matrix:
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 05:55:47 +08:00
BOOST_ROOT: "C:\Libraries\boost_1_59_0"
2015-10-02 06:02:37 +08:00
BOOST_LIBRARYDIR: "C:\Libraries\boost_1_59_0\stage\lib"
2015-10-01 17:17:01 +08:00
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%"