ci: use RelWithDebInfo build for non-master branches

- unlike Release, it builds with debug assertions and eigen-nan
  intialization, which may help to spot some bugs earlier.
This commit is contained in:
Nikolaus Demmel 2019-05-18 14:15:14 +02:00
parent c9548bbb23
commit 9243201c17
1 changed files with 4 additions and 2 deletions

View File

@ -91,6 +91,8 @@ stages:
bionic-release-compile:
<<: *prepare_docker_definition
<<: *compile_test_package_definition
only:
- master
variables:
CXX_MARCH: 'corei7-avx'
DEB_DIR: deb_bionic
@ -125,8 +127,6 @@ bionic-debug-compile:
bionic-relwithdebinfo-compile:
<<: *prepare_docker_definition
<<: *compile_test_package_definition
only:
- master
variables:
BUILD_TYPE: RelWithDebInfo
@ -160,6 +160,8 @@ clang-format:
bionic-test:
<<: *test_deb_definition
only:
- master
variables:
DEB_DIR: deb_bionic
GIT_STRATEGY: none