[CMake/CI] Add cmake self test to appveyor

This commit is contained in:
Mike Dev
2018-10-17 10:56:06 +02:00
parent ee5ed2510d
commit a4e304ca87

View File

@ -6,6 +6,10 @@ version: 1.0.{build}-{branch}
shallow_clone: true
configuration:
- boost_test
- cmake_self_test
branches:
only:
- master
@ -18,6 +22,25 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1
build: off
for:
-
matrix:
only:
- configuration: cmake_self_test
build: off
test_script:
- mkdir __build__
- cd __build__
- cmake ../test
- cmake --build .
-
matrix:
only:
- configuration: boost_test
install:
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
@ -34,3 +57,9 @@ build: off
test_script:
- b2 libs/preprocessor/test toolset=%TOOLSET%
- cd ../preprocessor/test