forked from boostorg/preprocessor
[CMake/CI] Add cmake self test to appveyor
This commit is contained in:
29
appveyor.yml
29
appveyor.yml
@ -6,6 +6,10 @@ version: 1.0.{build}-{branch}
|
|||||||
|
|
||||||
shallow_clone: true
|
shallow_clone: true
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- boost_test
|
||||||
|
- cmake_self_test
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -18,6 +22,25 @@ environment:
|
|||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
TOOLSET: msvc-14.1
|
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:
|
install:
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
||||||
@ -34,3 +57,9 @@ build: off
|
|||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- b2 libs/preprocessor/test toolset=%TOOLSET%
|
- b2 libs/preprocessor/test toolset=%TOOLSET%
|
||||||
|
- cd ../preprocessor/test
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user