From 219cf35ea8a7a05b921ad24d1d8ef2c8c9f74ed5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 21 Dec 2019 05:01:02 +0200 Subject: [PATCH] Simplify CMake Appveyor jobs --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f4a2149..914bc5a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,10 +24,13 @@ environment: CXXSTD: 14,17 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 CMAKE: 1 + CONFIG: Debug - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 CMAKE: 1 + CONFIG: Release - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 CMAKE: 1 + CONFIG: MinSizeRel install: - set BOOST_BRANCH=develop @@ -49,4 +52,4 @@ test_script: - if not "%CMAKE%" == "" mkdir __build__ && cd __build__ - if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 .. - - if not "%CMAKE%" == "" for %%c in (Debug Release MinSizeRel RelWithDebInfo) do cmake --build . --config %%c && ctest --output-on-failure -R boost_mp11 -C %%c + - if not "%CMAKE%" == "" cmake --build . --config %CONFIG% && ctest --output-on-failure -R boost_mp11 -C %CONFIG%