mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-14 03:22:06 +01:00
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.
This commit is contained in:
parent
09bf116242
commit
41a71aec3d
29
.github/matrix.py
vendored
29
.github/matrix.py
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user