mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 12:32:40 +01:00
Separate basic and debug builds in CI
This commit is contained in:
parent
c4205ed2f8
commit
df2db1bd2a
16
.github/workflows/test-build.yml
vendored
16
.github/workflows/test-build.yml
vendored
@ -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:
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user