]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: only enable OS X on development branches
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 19 Feb 2026 13:51:05 +0000 (14:51 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 19 Feb 2026 15:22:42 +0000 (16:22 +0100)
Don't use the macOS job on maintenance branches, it's mainly use for
development and checking portability, but we don't support actively
macOS on stable branches.

.github/matrix.py

index 8fe62b3ea13cb54e10efae2aa1cda6a18ed7ed71..33e9cb039f3eee1dd297c63c5114190efbfbc854 100755 (executable)
@@ -275,24 +275,21 @@ def main(ref_name):
                 }
             )
 
-    # macOS
-
-    if "haproxy-" in ref_name:
-        os = "macos-13"     # stable branch
-    else:
+    # macOS on dev branches
+    if "haproxy-" not in ref_name:
         os = "macos-26"     # development branch
 
-    TARGET = "osx"
-    for CC in ["clang"]:
-        matrix.append(
-            {
-                "name": "{}, {}, no features".format(os, CC),
-                "os": os,
-                "TARGET": TARGET,
-                "CC": CC,
-                "FLAGS": [],
-            }
-        )
+        TARGET = "osx"
+        for CC in ["clang"]:
+            matrix.append(
+                {
+                    "name": "{}, {}, no features".format(os, CC),
+                    "os": os,
+                    "TARGET": TARGET,
+                    "CC": CC,
+                    "FLAGS": [],
+                }
+            )
 
     # Print matrix