mirror of
https://github.com/nlohmann/json.git
synced 2026-10-20 13:08:13 +00:00
Build as "Debug" for coverage test
This commit is contained in:
1 parent
10db9184a3
commit
903b8a6e04
1 file changed
+3
-2
+3
-2
@@ -97,6 +97,7 @@ matrix:
|
|||||||
- COMPILER=g++-7
|
- COMPILER=g++-7
|
||||||
- CMAKE_OPTIONS=-DJSON_Coverage=ON
|
- CMAKE_OPTIONS=-DJSON_Coverage=ON
|
||||||
- MULTIPLE_HEADERS=ON
|
- MULTIPLE_HEADERS=ON
|
||||||
|
- BUILD_TYPE=Debug
|
||||||
|
|
||||||
# Coverity (only for branch coverity_scan)
|
# Coverity (only for branch coverity_scan)
|
||||||
|
|
||||||
@@ -324,8 +325,8 @@ script:
|
|||||||
# append CXX_STANDARD to CMAKE_OPTIONS if required
|
# append CXX_STANDARD to CMAKE_OPTIONS if required
|
||||||
- CMAKE_OPTIONS+=${CXX_STANDARD:+ -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_CXX_STANDARD_REQUIRED=ON}
|
- CMAKE_OPTIONS+=${CXX_STANDARD:+ -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DCMAKE_CXX_STANDARD_REQUIRED=ON}
|
||||||
|
|
||||||
# build configuration
|
# build configuration (Release by default)
|
||||||
- CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE=Release"
|
- CMAKE_OPTIONS+=" -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
|
||||||
|
|
||||||
# compile and execute unit tests
|
# compile and execute unit tests
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
|
|||||||
Reference in new issue
Block a user