CI: github: abandon asan matrix.py helper

that helper was useful in days when we beleived that gcc and clang
require different flags. those days are gone.
This commit is contained in:
Ilya Shipitsin 2024-02-02 20:33:15 +01:00 committed by William Lallemand
parent c977b9aa15
commit 7b881003b1

15
.github/matrix.py vendored
View File

@ -86,14 +86,6 @@ def clean_compression(compression):
return compression.replace("USE_", "").lower() return compression.replace("USE_", "").lower()
def get_asan_flags(cc):
return [
"USE_OBSOLETE_LINKER=1",
'DEBUG_CFLAGS="-g -fsanitize=address"',
'LDFLAGS="-fsanitize=address"',
'CPU_CFLAGS.generic="-O1"',
]
def main(ref_name): def main(ref_name):
print("Generating matrix for branch '{}'.".format(ref_name)) print("Generating matrix for branch '{}'.".format(ref_name))
@ -155,8 +147,11 @@ def main(ref_name):
"os": os, "os": os,
"TARGET": TARGET, "TARGET": TARGET,
"CC": CC, "CC": CC,
"FLAGS": get_asan_flags(CC) "FLAGS": [
+ [ "USE_OBSOLETE_LINKER=1",
'DEBUG_CFLAGS="-g -fsanitize=address"',
'LDFLAGS="-fsanitize=address"',
'CPU_CFLAGS.generic="-O1"',
"USE_ZLIB=1", "USE_ZLIB=1",
"USE_OT=1", "USE_OT=1",
"OT_INC=${HOME}/opt-ot/include", "OT_INC=${HOME}/opt-ot/include",