mirror of https://github.com/QMCPACK/qmcpack.git
Add debug mode configuration to CI
This commit is contained in:
parent
28b8ba78fc
commit
bfc4befb7d
|
@ -20,6 +20,7 @@ jobs:
|
|||
matrix:
|
||||
jobname:
|
||||
[
|
||||
GCC9-NoMPI-Debug-Real,
|
||||
GCC9-MPI-Gcov-Real,
|
||||
GCC9-MPI-Gcov-Complex,
|
||||
GCC11-NoMPI-Werror-Real,
|
||||
|
@ -30,6 +31,11 @@ jobs:
|
|||
Clang12-NoMPI-Offload-Real,
|
||||
]
|
||||
include:
|
||||
- jobname: GCC9-NoMPI-Debug-Real
|
||||
container:
|
||||
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
|
||||
options: -u 1001
|
||||
|
||||
- jobname: GCC9-MPI-Gcov-Real
|
||||
container:
|
||||
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
|
||||
|
|
|
@ -59,6 +59,15 @@ case "$1" in
|
|||
esac
|
||||
|
||||
case "${GH_JOBNAME}" in
|
||||
*"GCC9-NoMPI-Debug-"*)
|
||||
echo 'Configure for debug mode to capture asserts with gcc'
|
||||
cmake -GNinja \
|
||||
-DCMAKE_C_COMPILER=gcc \
|
||||
-DCMAKE_CXX_COMPILER=g++ \
|
||||
-DQMC_MPI=0 \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
${GITHUB_WORKSPACE}
|
||||
;;
|
||||
*"GCC9-MPI-Gcov-"*)
|
||||
echo 'Configure for code coverage with gcc and gcovr -DENABLE_GCOV=TRUE and upload reports to Codecov'
|
||||
cmake -GNinja \
|
||||
|
|
Loading…
Reference in New Issue