From 41a71aec3d0340749e9a74fc304873c62ede9456 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 19 Feb 2026 14:51:05 +0100 Subject: [PATCH] CI: github: only enable OS X on development branches 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 | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/matrix.py b/.github/matrix.py index 8fe62b3ea..33e9cb039 100755 --- a/.github/matrix.py +++ b/.github/matrix.py @@ -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 -- 2.47.3