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
|
version: 1.0.{build}
os: Visual Studio 2015
branches:
only:
- master
environment:
matrix:
- CMAKE_BUILD_TYPE: Debug
ARCH: amd64
- CMAKE_BUILD_TYPE: Release
ARCH: amd64
- CMAKE_BUILD_TYPE: Debug
ARCH: x86
- CMAKE_BUILD_TYPE: Release
ARCH: x86
install:
- git submodule update --init --recursive
build_script:
- md build
- cd build
- "\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" %ARCH%"
- cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DRC_ENABLE_TESTS=ON -DRC_ENABLE_EXAMPLES=ON -DRC_ENABLE_GTEST=ON -DRC_ENABLE_GMOCK=ON -DRC_ENABLE_BOOST=ON -DRC_ENABLE_BOOST_TEST=ON -DRC_ENABLE_RTTI=ON -G "NMake Makefiles" ..
- nmake
test_script:
- ctest --output-on-failure
|