From 8ada027f052c03193cc127e7f26d12ec51392440 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 2 Apr 2024 07:36:47 +0200 Subject: [PATCH] Run asan and macOS CI in release mode too I don't know why we're inconsistent about this, and at least asan fails frequently due to timeouts. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d68f473ab..73a45e656 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,7 +97,7 @@ jobs: mkdir build && cd build # Rust's ASAN requires the build system to explicitly pass a --target triple. We read that # value from CMake variable Rust_CARGO_TARGET (shared with corrosion). - cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu -DCMAKE_BUILD_TYPE=Debug + cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu -DCMAKE_BUILD_TYPE=RelWithDebInfo - name: make run: | make VERBOSE=1 @@ -162,7 +162,7 @@ jobs: - name: cmake run: | mkdir build && cd build - cmake -DWITH_GETTEXT=NO -DCMAKE_BUILD_TYPE=Debug .. + cmake -DWITH_GETTEXT=NO -DCMAKE_BUILD_TYPE=RelWithDebInfo .. - name: make run: | make VERBOSE=1