Skip to content

Commit

Permalink
Try relese mode for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bethune-bryant committed Dec 12, 2023
1 parent 5de5ab0 commit 86c9fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def cmake_build(Map conf=[:]){
}

if(conf.get("codecov", false)){ //Need
setup_args = " -DCMAKE_BUILD_TYPE=debug -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags} -fprofile-instr-generate -fcoverage-mapping' -DCODECOV_TEST=On " + setup_args
setup_args = " -DCMAKE_BUILD_TYPE=release -DCMAKE_CXX_FLAGS='-fprofile-instr-generate -fcoverage-mapping' -DCODECOV_TEST=On " + setup_args
}else if(build_type_debug){
setup_args = " -DCMAKE_BUILD_TYPE=debug -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}'" + setup_args
}else{
Expand Down

0 comments on commit 86c9fab

Please sign in to comment.