Switch to RelWithDebInfo mode for code coverage

This commit is contained in:
William F Godoy 2021-03-30 17:07:01 -04:00
parent 91cf1239de
commit 48f85274f1
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ case "$1" in
*"coverage"*)
echo 'Configure for code coverage with gcc and gcovr'
cmake -GNinja -DMPI_C_COMPILER=mpicc -DMPI_CXX_COMPILER=mpicxx \
-DCMAKE_BUILD_TYPE=Debug -DENABLE_GCOV=TRUE -DQMC_COMPLEX=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_GCOV=TRUE \
-DQMC_COMPLEX=1 \
${GITHUB_WORKSPACE}
;;
# Configure with default compilers