From c4205ed2f833d4f09ab18944468e400d6369a166 Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 11 Jul 2022 10:36:37 +0200 Subject: [PATCH] Revert "AddressSanitizer is now included in the DEBUG build" This reverts commit de367f9126fadfa0c3e87be3a4eea980d04d30b4. --- .github/workflows/test-build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 5c65b0d..0ff42eb 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -76,6 +76,23 @@ 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: #