mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:45:39 +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
1 changed files with 2 additions and 1 deletions
|
@ -116,11 +116,12 @@ Ubuntu_GCC_tests:
|
|||
Ubuntu_GCC_tests_Debug:
|
||||
extends: Ubuntu_GCC
|
||||
cache:
|
||||
key: Ubuntu_GCC_tests_Debug.v1
|
||||
key: Ubuntu_GCC_tests_Debug.v2
|
||||
variables:
|
||||
CCACHE_SIZE: 1G
|
||||
BUILD_TESTS_ONLY: 1
|
||||
CMAKE_BUILD_TYPE: Debug
|
||||
CMAKE_CXX_FLAGS_DEBUG: -g -O0 -D_GLIBCXX_ASSERTIONS
|
||||
artifacts:
|
||||
paths: []
|
||||
expire_in: 1 minute
|
||||
|
|
Loading…
Reference in a new issue