From df2db1bd2a042828129d53e3e4d58d38c58f94cd Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 11 Jul 2022 10:38:39 +0200 Subject: [PATCH] Separate basic and debug builds in CI --- .github/workflows/test-build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 0ff42eb..4d48e55 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -40,7 +40,7 @@ jobs: ./autogen.sh mkdir _build cd _build - ../configure --enable-silent-rules --enable-debug + ../configure --enable-silent-rules make -j 4 sudo make install @@ -76,23 +76,23 @@ jobs: run: make python-test working-directory: _build - - name: Re-build QMCkl with AddressSanitizer + - name: Configure QMCkl in debug mode run: | - mkdir _build_as - cd _build_as - ../configure CFLAGS="-g -O2 -fsanitize=address -fno-omit-frame-pointer" LDFLAGS="-fsanitize=address" --enable-silent-rules + mkdir _build_debug + cd _build_debug + ../configure --enable-debug --enable-silent-rules make -j2 - name: Run test run: make -j2 check - working-directory: _build_as + working-directory: _build_debug - name: Archive test log file if: failure() uses: actions/upload-artifact@v2 with: - name: test-report-ubuntu-as - path: _build_as/test-suite.log + name: test-report-ubuntu-debug + path: _build_debug/test-suite.log # x86_macos: #