CI: vtest: add Ubuntu arm64 builds

Reference: https://github.com/actions/partner-runner-images

since GHA now supports arm64 as well, let add those builds. We will
start with ASAN builds, other will be added later if required
This commit is contained in:
Ilia Shipitsin 2025-08-08 11:41:47 +02:00 committed by Willy Tarreau
parent 6b2bbcb428
commit c10e8401e2

67
.github/matrix.py vendored
View File

@ -125,9 +125,11 @@ def main(ref_name):
# Ubuntu # Ubuntu
if "haproxy-" in ref_name: if "haproxy-" in ref_name:
os = "ubuntu-24.04" # stable branch os = "ubuntu-24.04" # stable branch
os_arm = "ubuntu-24.04-arm" # stable branch
else: else:
os = "ubuntu-24.04" # development branch os = "ubuntu-24.04" # development branch
os_arm = "ubuntu-24.04-arm" # development branch
TARGET = "linux-glibc" TARGET = "linux-glibc"
for CC in ["gcc", "clang"]: for CC in ["gcc", "clang"]:
@ -172,36 +174,37 @@ def main(ref_name):
# ASAN # ASAN
matrix.append( for os_asan in [os, os_arm]:
{ matrix.append(
"name": "{}, {}, ASAN, all features".format(os, CC), {
"os": os, "name": "{}, {}, ASAN, all features".format(os_asan, CC),
"TARGET": TARGET, "os": os_asan,
"CC": CC, "TARGET": TARGET,
"FLAGS": [ "CC": CC,
"USE_OBSOLETE_LINKER=1", "FLAGS": [
'ARCH_FLAGS="-g -fsanitize=address"', "USE_OBSOLETE_LINKER=1",
'OPT_CFLAGS="-O1"', 'ARCH_FLAGS="-g -fsanitize=address"',
"USE_ZLIB=1", 'OPT_CFLAGS="-O1"',
"USE_OT=1", "USE_ZLIB=1",
"OT_INC=${HOME}/opt-ot/include", "USE_OT=1",
"OT_LIB=${HOME}/opt-ot/lib", "OT_INC=${HOME}/opt-ot/include",
"OT_RUNPATH=1", "OT_LIB=${HOME}/opt-ot/lib",
"USE_PCRE2=1", "OT_RUNPATH=1",
"USE_PCRE2_JIT=1", "USE_PCRE2=1",
"USE_LUA=1", "USE_PCRE2_JIT=1",
"USE_OPENSSL=1", "USE_LUA=1",
"USE_WURFL=1", "USE_OPENSSL=1",
"WURFL_INC=addons/wurfl/dummy", "USE_WURFL=1",
"WURFL_LIB=addons/wurfl/dummy", "WURFL_INC=addons/wurfl/dummy",
"USE_DEVICEATLAS=1", "WURFL_LIB=addons/wurfl/dummy",
"DEVICEATLAS_SRC=addons/deviceatlas/dummy", "USE_DEVICEATLAS=1",
"USE_PROMEX=1", "DEVICEATLAS_SRC=addons/deviceatlas/dummy",
"USE_51DEGREES=1", "USE_PROMEX=1",
"51DEGREES_SRC=addons/51degrees/dummy/pattern", "USE_51DEGREES=1",
], "51DEGREES_SRC=addons/51degrees/dummy/pattern",
} ],
) }
)
for compression in ["USE_ZLIB=1"]: for compression in ["USE_ZLIB=1"]:
matrix.append( matrix.append(