forked from boostorg/assert
Add CMake jobs to Appveyor
This commit is contained in:
20
appveyor.yml
20
appveyor.yml
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2016, 2018 Peter Dimov
|
# Copyright 2016, 2018, 2019 Peter Dimov
|
||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
@@ -22,6 +22,12 @@ environment:
|
|||||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
TOOLSET: msvc-14.2
|
TOOLSET: msvc-14.2
|
||||||
CXXSTD: 14,17
|
CXXSTD: 14,17
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||||
|
CMAKE: 1
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
||||||
|
CMAKE: 1
|
||||||
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
|
CMAKE: 1
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set BOOST_BRANCH=develop
|
- set BOOST_BRANCH=develop
|
||||||
@@ -34,6 +40,7 @@ install:
|
|||||||
- git submodule update --init libs/config
|
- git submodule update --init libs/config
|
||||||
- git submodule update --init libs/core
|
- git submodule update --init libs/core
|
||||||
- git submodule update --init libs/headers
|
- git submodule update --init libs/headers
|
||||||
|
- git submodule update --init tools/cmake
|
||||||
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\assert\
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\assert\
|
||||||
- cmd /c bootstrap
|
- cmd /c bootstrap
|
||||||
- b2 -d0 headers
|
- b2 -d0 headers
|
||||||
@@ -42,4 +49,13 @@ build: off
|
|||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
||||||
- b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD%
|
- if "%CMAKE%" == "" (
|
||||||
|
- b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD%
|
||||||
|
- ) ELSE (
|
||||||
|
- mkdir __build__ && cd __build__
|
||||||
|
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 ..
|
||||||
|
- ctest --output-on-failure -R boost_assert -C Debug
|
||||||
|
- ctest --output-on-failure -R boost_assert -C Release
|
||||||
|
- ctest --output-on-failure -R boost_assert -C MinSizeRel
|
||||||
|
- ctest --output-on-failure -R boost_assert -C RelWithDebInfo
|
||||||
|
- )
|
||||||
|
Reference in New Issue
Block a user