From ada24f33f3f5b120a1d5fedcf7d8fbd68622a285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 10 Sep 2024 22:19:36 +0200 Subject: [PATCH] Make a RelWithDebInfo build when testing with ASAN in the CI Traces should be more useful if we keep debug data in. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f849eef..abb05f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,10 +106,13 @@ jobs: elif [ "${{ matrix.config.configType }}" = "shared" ]; then echo "BUILD_SHARED_LIBS=ON" >> $GITHUB_ENV; elif [ "${{ matrix.config.configType }}" = "asan" ]; then + echo "BUILD_TYPE=RelWithDebInfo" >> $GITHUB_ENV; echo "CONFIG_ASAN=ON" >> $GITHUB_ENV; elif [ "${{ matrix.config.configType }}" = "ubsan" ]; then + echo "BUILD_TYPE=RelWithDebInfo" >> $GITHUB_ENV; echo "CONFIG_UBSAN=ON" >> $GITHUB_ENV; elif [ "${{ matrix.config.configType }}" = "msan" ]; then + echo "BUILD_TYPE=RelWithDebInfo" >> $GITHUB_ENV; echo "CONFIG_MSAN=ON" >> $GITHUB_ENV; echo "CC=clang" >> $GITHUB_ENV; fi