mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-09 14:08:08 -05:00
Update dev_asan.yml adding homebrew
This commit is contained in:
3
.github/workflows/dev_asan.yml
vendored
3
.github/workflows/dev_asan.yml
vendored
@@ -22,6 +22,9 @@ jobs:
|
||||
run: cd build && CXX=clang++ cmake .. -DCMAKE_BUILD_TYPE=Asan -DCOOLPROP_ASAN=ON -DCOOLPROP_CATCH_MODULE=ON
|
||||
- name: build all Catch tests
|
||||
run: cmake --build build --config Asan
|
||||
- name: Add Homebrew to $PATH
|
||||
# See: https://github.com/actions/runner-images/issues/6283#issuecomment-1260838338
|
||||
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
|
||||
- name: run all the compiled Catch tests with address sanitizer
|
||||
run: cd build && ASAN_OPTIONS=detect_stack_use_after_return=1:verbosity=1 ASAN_SYMBOLIZER_PATH=`brew --prefix`/opt/llvm/bin/llvm-symbolizer ./catch_tests --benchmark-samples 1
|
||||
# ASAN CLI docs here: https://github.com/google/sanitizers/wiki/AddressSanitizerFlags
|
||||
|
||||
Reference in New Issue
Block a user