Commit 3a2d37f5 authored by Lukas Riedel's avatar Lukas Riedel

Remove '-Werror' flag from Debug configs and add to Debug build job

Debug build job is now allowed to fail
parent b0c52d1a
......@@ -37,8 +37,14 @@ build:update_dune:
build:debug:
stage: build
allow_failure: true
script:
- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DDUNE_PYTHON_VIRTUALENV_SETUP=True -DDUNE_PYTHON_ALLOW_GET_PIP=True" MAKE_FLAGS="-j 2" ./dune-common/bin/dunecontrol --only=dorie all
- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Debug
-DDUNE_PYTHON_VIRTUALENV_SETUP=True
-DDUNE_PYTHON_ALLOW_GET_PIP=True
-DCMAKE_CXX_FLAGS_DEBUG='-Werror'"
MAKE_FLAGS="-j 2"
./dune-common/bin/dunecontrol --only=dorie all
test:main:
stage: test
......
......@@ -10,7 +10,6 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UPPER)
if(CMAKE_BUILD_TYPE_UPPER MATCHES DEBUG)
set(CMAKE_VERBOSE_MAKEFILE ON)
endif()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Werror")
#
if(NOT (dune-common_DIR OR dune-common_ROOT OR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment