1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-01 10:55:36 +02:00

Separate basic and debug builds in CI

This commit is contained in:
q-posev 2022-07-11 10:38:39 +02:00
parent c4205ed2f8
commit df2db1bd2a

View File

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