mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 12:29:06 +08:00
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.
This commit is contained in:
105
appveyor.yml
105
appveyor.yml
@@ -5,43 +5,100 @@ image:
|
|||||||
# aka os: Windows Server 2012 R2
|
# aka os: Windows Server 2012 R2
|
||||||
- Visual Studio 2015
|
- Visual Studio 2015
|
||||||
# aka os: Windows Server 2016
|
# aka os: Windows Server 2016
|
||||||
|
# b_toolset: v141
|
||||||
- Visual Studio 2017
|
- Visual Studio 2017
|
||||||
# aka os: Windows Server 2019
|
# aka os: Windows Server 2019
|
||||||
|
# b_toolset: v142
|
||||||
- Visual Studio 2019
|
- Visual Studio 2019
|
||||||
|
# b_toolset: v143
|
||||||
|
- Visual Studio 2022
|
||||||
|
|
||||||
platform: x64
|
platform: x64
|
||||||
|
|
||||||
for:
|
|
||||||
-
|
|
||||||
matrix:
|
|
||||||
only:
|
|
||||||
- image: Visual Studio 2015
|
|
||||||
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- b_toolset: Windows7.1SDK
|
|
||||||
b_config: Debug
|
|
||||||
|
|
||||||
- b_toolset: v120
|
|
||||||
b_config: Debug
|
|
||||||
|
|
||||||
- b_toolset: v140
|
|
||||||
b_config: Debug
|
|
||||||
|
|
||||||
build_script:
|
|
||||||
- cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install .
|
|
||||||
- cmake --build . --target install
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- b_config: Debug
|
- b_toolset: Windows7.1SDK
|
||||||
|
|
||||||
- b_config: Release
|
- b_toolset: v120
|
||||||
|
|
||||||
|
- b_toolset: v140
|
||||||
|
|
||||||
|
- b_toolset: v141
|
||||||
|
|
||||||
|
- b_toolset: v142
|
||||||
|
|
||||||
|
- b_toolset: v143
|
||||||
|
|
||||||
|
configuration:
|
||||||
|
- Debug
|
||||||
|
- Release
|
||||||
|
|
||||||
build_script:
|
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
|
- 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:
|
after_build:
|
||||||
- cd t_install
|
- cd t_install
|
||||||
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
|
- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
|
||||||
|
|||||||
Reference in New Issue
Block a user