Skip to content
Snippets Groups Projects
Commit 0d0b45ce authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ci: default to Release builds

parent a4ce1e81
No related branches found
No related tags found
1 merge request!119Ci default release
......@@ -23,6 +23,12 @@ configuration_flag(CATALYST_WITH_EXTERNAL_CONDUIT "extdeps")
configuration_flag(CATALYST_WRAP_PYTHON "wrappings")
configuration_flag(CATALYST_WRAP_FORTRAN "wrappings")
# Default to Release builds.
if ("$ENV{CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
else ()
set(CMAKE_BUILD_TYPE "$ENV{CMAKE_BUILD_TYPE}" CACHE STRING "")
endif ()
if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_tidy")
set(CMAKE_C_CLANG_TIDY "clang-tidy" "--header-filter=$ENV{CI_PROJECT_DIR}/(src|tests)" CACHE FILEPATH "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment