]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Skip most "Release" builds. s/b_config/CONFIGURATION/ to fix artifact creation.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 29 Nov 2021 18:18:48 +0000 (18:18 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Mon, 29 Nov 2021 18:18:48 +0000 (18:18 +0000)
appveyor.yml

index 12f7daa74eed41bdd460fbec47c39fd03bd565de..9a5f9c4fa40ca6c8ea4584a558f7921f93341beb 100644 (file)
@@ -39,6 +39,11 @@ build_script:
 
 matrix:
   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
       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
       b_toolset: Windows7.1SDK
 
@@ -67,6 +78,9 @@ matrix:
 
     # ----
 
+    - image: Visual Studio 2019
+      configuration: Release
+
     - image: Visual Studio 2019
       b_toolset: Windows7.1SDK
 
@@ -101,8 +115,8 @@ matrix:
 
 after_build:
 - cd t_install
-- 7z a ../json-c.win32.%b_toolset%.%b_config%.zip *
+- 7z a ../json-c.win32.%b_toolset%.%CONFIGURATION%.zip *
 
 artifacts:
-- path: json-c.win32.%b_toolset%.%b_config%.zip
-  name: json-c.win32.%b_toolset%.%b_config%.zip
+- path: json-c.win32.%b_toolset%.%CONFIGURATION%.zip
+  name: json-c.win32.%b_toolset%.%CONFIGURATION%.zip