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.
This commit is contained in:
Johannes Altmanninger 2024-04-02 07:36:47 +02:00
parent 16c5ca2609
commit 8ada027f05

View file

@ -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