diff --git a/appveyor.yml b/appveyor.yml index c81835c..c80b2b9 100644 --- a/appveyor.yml +++ b/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. # (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 TOOLSET: msvc-14.2 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: - set BOOST_BRANCH=develop @@ -34,6 +40,7 @@ install: - git submodule update --init libs/config - git submodule update --init libs/core - git submodule update --init libs/headers + - git submodule update --init tools/cmake - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\assert\ - cmd /c bootstrap - b2 -d0 headers @@ -42,4 +49,13 @@ build: off test_script: - 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 + - )