mirror of
https://github.com/json-c/json-c.git
synced 2026-04-06 22:09:06 +08:00
Skip most "Release" builds. s/b_config/CONFIGURATION/ to fix artifact creation.
This commit is contained in:
20
appveyor.yml
20
appveyor.yml
@@ -39,6 +39,11 @@ build_script:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
|
# Skip release builds for all except the newest image
|
||||||
|
- image: Visual Studio 2015
|
||||||
|
configuration: Release
|
||||||
|
|
||||||
|
# In the "old" image, new toolsets aren't available:
|
||||||
- image: Visual Studio 2015
|
- image: Visual Studio 2015
|
||||||
b_toolset: v141
|
b_toolset: v141
|
||||||
|
|
||||||
@@ -50,6 +55,12 @@ matrix:
|
|||||||
|
|
||||||
# ----
|
# ----
|
||||||
|
|
||||||
|
- image: Visual Studio 2017
|
||||||
|
configuration: Release
|
||||||
|
|
||||||
|
# In the "new" images, exclude all toolsets except the relevant
|
||||||
|
# one for that image:
|
||||||
|
|
||||||
- image: Visual Studio 2017
|
- image: Visual Studio 2017
|
||||||
b_toolset: Windows7.1SDK
|
b_toolset: Windows7.1SDK
|
||||||
|
|
||||||
@@ -67,6 +78,9 @@ matrix:
|
|||||||
|
|
||||||
# ----
|
# ----
|
||||||
|
|
||||||
|
- image: Visual Studio 2019
|
||||||
|
configuration: Release
|
||||||
|
|
||||||
- image: Visual Studio 2019
|
- image: Visual Studio 2019
|
||||||
b_toolset: Windows7.1SDK
|
b_toolset: Windows7.1SDK
|
||||||
|
|
||||||
@@ -101,8 +115,8 @@ matrix:
|
|||||||
|
|
||||||
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%.%CONFIGURATION%.zip *
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: json-c.win32.%b_toolset%.%b_config%.zip
|
- path: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
||||||
name: json-c.win32.%b_toolset%.%b_config%.zip
|
name: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user