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: #