mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Have ASAN CI use debug build
This catches things that might be optimized away by the compiler.
This commit is contained in:
parent
91cf526d23
commit
ce5686edc7
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -102,7 +102,7 @@ jobs:
|
|||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
# Rust's ASAN requires the build system to explicitly pass a --target triple. We read that
|
# 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).
|
# value from CMake variable Rust_CARGO_TARGET (shared with corrosion).
|
||||||
cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu
|
cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu -DCMAKE_BUILD_TYPE=Debug
|
||||||
- name: make
|
- name: make
|
||||||
run: |
|
run: |
|
||||||
make
|
make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user