From: Eric Haszlakiewicz Date: Sat, 27 Nov 2021 02:55:29 +0000 (+0000) Subject: There doesn't seem to be a way to extend the appveyor build matrix for just one image... X-Git-Tag: json-c-0.16-20220414~27^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5fed59756c844e503aa2b2c8c184df80d086d17;p=json-c There doesn't seem to be a way to extend the appveyor build matrix for just one image, so instead list a whole bunch of excluded builds. --- diff --git a/appveyor.yml b/appveyor.yml index d7b1e3c..12f7daa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,43 +5,100 @@ image: # aka os: Windows Server 2012 R2 - Visual Studio 2015 # aka os: Windows Server 2016 +# b_toolset: v141 - Visual Studio 2017 # aka os: Windows Server 2019 +# b_toolset: v142 - Visual Studio 2019 +# b_toolset: v143 + - Visual Studio 2022 platform: x64 -for: -- +environment: matrix: - only: - - image: Visual Studio 2015 + - b_toolset: Windows7.1SDK - environment: - matrix: - - b_toolset: Windows7.1SDK - b_config: Debug + - b_toolset: v120 - - b_toolset: v120 - b_config: Debug + - b_toolset: v140 - - b_toolset: v140 - b_config: Debug + - b_toolset: v141 - build_script: - - cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install . - - cmake --build . --target install + - b_toolset: v142 -environment: - matrix: - - b_config: Debug + - b_toolset: v143 - - b_config: Release +configuration: + - Debug + - Release build_script: -- cmake -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install . +- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=t_install . - cmake --build . --target install +matrix: + exclude: + - image: Visual Studio 2015 + b_toolset: v141 + + - image: Visual Studio 2015 + b_toolset: v142 + + - image: Visual Studio 2015 + b_toolset: v143 + + # ---- + + - image: Visual Studio 2017 + b_toolset: Windows7.1SDK + + - image: Visual Studio 2017 + b_toolset: v120 + + - image: Visual Studio 2017 + b_toolset: v140 + + - image: Visual Studio 2017 + b_toolset: v142 + + - image: Visual Studio 2017 + b_toolset: v143 + + # ---- + + - image: Visual Studio 2019 + b_toolset: Windows7.1SDK + + - image: Visual Studio 2019 + b_toolset: v120 + + - image: Visual Studio 2019 + b_toolset: v140 + + - image: Visual Studio 2019 + b_toolset: v141 + + - image: Visual Studio 2019 + b_toolset: v143 + + # ---- + + - image: Visual Studio 2022 + b_toolset: Windows7.1SDK + + - image: Visual Studio 2022 + b_toolset: v120 + + - image: Visual Studio 2022 + b_toolset: v140 + + - image: Visual Studio 2022 + b_toolset: v141 + + - image: Visual Studio 2022 + b_toolset: v142 + after_build: - cd t_install - 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *