From 27cb926061489b5601143aac9c052a2b004e2996 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 3 Apr 2026 09:59:00 +0200 Subject: [PATCH] ci: remove ASan from Valgrind check ASan and Valgrind both intercept memory allocations and management at runtime. Running them simultaneously might lead to conflicts in memory tracking. This change ensures that during the Valgrind phase of the build matrix, only Valgrind is responsible for memory analysis, avoiding redundant overhead and ensuring more reliable results. Signed-off-by: Michael Vetter --- scripts/build-configuration-matrix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-configuration-matrix.sh b/scripts/build-configuration-matrix.sh index 06651f10..6a3c3dc9 100755 --- a/scripts/build-configuration-matrix.sh +++ b/scripts/build-configuration-matrix.sh @@ -94,7 +94,7 @@ fi if [[ "$ARCH" == linux* ]]; then echo -e "${YELLOW}--> Running Valgrind check with full features ${BACKEND_OPT} ${EXTRA_ARGS}${NC}" rm -rf build_valgrind - meson setup build_valgrind ${tests[0]} ${BACKEND_OPT} -Dtests=true -Db_sanitize=address,undefined ${EXTRA_ARGS} + meson setup build_valgrind ${tests[0]} ${BACKEND_OPT} -Dtests=true -Db_sanitize=undefined ${EXTRA_ARGS} meson compile -C build_valgrind meson test -C build_valgrind "unit tests" --print-errorlogs --wrap=valgrind || echo "Valgrind issues detected" rm -rf build_valgrind