mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-23 11:42:38 +00:00
Build tests by gcc with enabled stdlibc++ assertions in debug mode
This can catch some problems in the code like out of bounds access for string_view element via operator[] when it refers a buffer larger than the view.
This commit is contained in:
parent
4a2302ff2b
commit
d96e2037e3
@ -116,11 +116,12 @@ Ubuntu_GCC_tests:
|
|||||||
Ubuntu_GCC_tests_Debug:
|
Ubuntu_GCC_tests_Debug:
|
||||||
extends: Ubuntu_GCC
|
extends: Ubuntu_GCC
|
||||||
cache:
|
cache:
|
||||||
key: Ubuntu_GCC_tests_Debug.v1
|
key: Ubuntu_GCC_tests_Debug.v2
|
||||||
variables:
|
variables:
|
||||||
CCACHE_SIZE: 1G
|
CCACHE_SIZE: 1G
|
||||||
BUILD_TESTS_ONLY: 1
|
BUILD_TESTS_ONLY: 1
|
||||||
CMAKE_BUILD_TYPE: Debug
|
CMAKE_BUILD_TYPE: Debug
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG: -g -O0 -D_GLIBCXX_ASSERTIONS
|
||||||
artifacts:
|
artifacts:
|
||||||
paths: []
|
paths: []
|
||||||
expire_in: 1 minute
|
expire_in: 1 minute
|
||||||
|
Loading…
x
Reference in New Issue
Block a user