mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 20:36:01 +01:00
Include the CI steps with AddressSanitizer
This commit is contained in:
parent
daf85efe67
commit
f1f83d1582
18
.github/workflows/test-build.yml
vendored
18
.github/workflows/test-build.yml
vendored
@ -76,6 +76,24 @@ jobs:
|
||||
run: make python-test
|
||||
working-directory: _build
|
||||
|
||||
- name: Re-build QMCkl with AddressSanitizer
|
||||
run: |
|
||||
mkdir _build_as
|
||||
cd _build_as
|
||||
../configure CFLAGS="-g -O2 -fsanitize=address -fno-omit-frame-pointer" LDFLAGS="-fsanitize=address" --enable-silent-rules
|
||||
make -j2
|
||||
|
||||
- name: Run test
|
||||
run: make -j2 check
|
||||
working-directory: _build_as
|
||||
|
||||
- name: Archive test log file
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: test-report-ubuntu-as
|
||||
path: _build_as/test-suite.log
|
||||
|
||||
# x86_macos:
|
||||
#
|
||||
# runs-on: macos-latest
|
||||
|
Loading…
Reference in New Issue
Block a user