forked from boostorg/preprocessor
[CMake/CI] Add cmake self test to appveyor
This commit is contained in:
57
appveyor.yml
57
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,19 +22,44 @@ environment:
|
|||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
TOOLSET: msvc-14.1
|
TOOLSET: msvc-14.1
|
||||||
|
|
||||||
install:
|
|
||||||
- cd ..
|
|
||||||
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
|
|
||||||
- cd boost-root
|
|
||||||
- git submodule update --init tools/build
|
|
||||||
- git submodule update --init libs/config
|
|
||||||
- git submodule update --init tools/boostdep
|
|
||||||
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\preprocessor
|
|
||||||
- python tools/boostdep/depinst/depinst.py preprocessor
|
|
||||||
- bootstrap
|
|
||||||
- b2 headers
|
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
for:
|
||||||
- b2 libs/preprocessor/test toolset=%TOOLSET%
|
-
|
||||||
|
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
|
||||||
|
- cd boost-root
|
||||||
|
- git submodule update --init tools/build
|
||||||
|
- git submodule update --init libs/config
|
||||||
|
- git submodule update --init tools/boostdep
|
||||||
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\preprocessor
|
||||||
|
- python tools/boostdep/depinst/depinst.py preprocessor
|
||||||
|
- bootstrap
|
||||||
|
- b2 headers
|
||||||
|
|
||||||
|
build: off
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- b2 libs/preprocessor/test toolset=%TOOLSET%
|
||||||
|
- cd ../preprocessor/test
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user