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.
C++20
elsid 3 years ago
parent 4a2302ff2b
commit d96e2037e3
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -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…
Cancel
Save