mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-03 01:56:13 +01:00
Add AddressSanitizer debug to the CI
This commit is contained in:
parent
2d1a3da8bc
commit
1bc4fe44e3
22
.github/workflows/actions.yml
vendored
22
.github/workflows/actions.yml
vendored
@ -52,10 +52,10 @@ jobs:
|
||||
./configure --enable-silent-rules
|
||||
|
||||
- name: compile TREXIO
|
||||
run: make -j 2
|
||||
run: make -j2
|
||||
|
||||
- name: check TREXIO
|
||||
run: make check
|
||||
run: make -j2 check
|
||||
|
||||
- name: create virtual environment
|
||||
run: |
|
||||
@ -82,8 +82,22 @@ jobs:
|
||||
name: pytrexio-source
|
||||
path: ./trexio-*.tar.gz
|
||||
|
||||
- name: clean
|
||||
run: make clean
|
||||
- name: maintainer clean
|
||||
run: make maintainer-clean
|
||||
|
||||
- name: reconfigure with clang and AddressSanitizer
|
||||
run: |
|
||||
./autogen.sh
|
||||
./configure CC=clang-11 CFLAGS="-O2 -fsanitize=address -fno-omit-frame-pointer" LDFLAGS="-fsanitize=address" --enable-silent-rules
|
||||
|
||||
- name: recompile TREXIO
|
||||
run: make -j2
|
||||
|
||||
- name: recheck TREXIO for memory leaks
|
||||
run: make -j2 check
|
||||
|
||||
- name: maintainer clean
|
||||
run: make maintainer-clean
|
||||
|
||||
trexio_macos:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user