@@ -40,10 +40,10 @@ matrix:
40
40
- env : CONF=debug ARCH=x86_64 CXX11=OFF CXX17=OFF
41
41
compiler : gcc
42
42
arch : amd64
43
- - env : CONF=debug ARCH=x86 CXX11=OFF CXX17=ON
43
+ - env : CONF=debug ARCH=x86 CXX11=OFF CXX17=ON CXX_FLAGS='-D_GLIBCXX_DEBUG'
44
44
compiler : gcc
45
- arch : amd64
46
- - env : CONF=debug ARCH=x86_64 CXX11=OFF CXX17=ON
45
+ arch : amd64/
46
+ - env : CONF=debug ARCH=x86_64 CXX11=OFF CXX17=ON CXX_FLAGS='-D_GLIBCXX_DEBUG'
47
47
compiler : gcc
48
48
arch : amd64
49
49
- env : CONF=release ARCH=aarch64 CXX11=ON CXX17=OFF
@@ -84,7 +84,7 @@ matrix:
84
84
compiler : clang
85
85
arch : arm64
86
86
# coverage report
87
- - env : CONF=debug ARCH=x86 CXX11=ON CXX17=OFF GCOV_FLAGS='--coverage'
87
+ - env : CONF=debug ARCH=x86 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=OFF CXX17=OFF
88
88
compiler : gcc
89
89
arch : amd64
90
90
cache :
@@ -93,7 +93,7 @@ matrix:
93
93
after_success :
94
94
- pip install --user cpp-coveralls
95
95
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
96
- - env : CONF=debug ARCH=x86_64 GCOV_FLAGS='--coverage'
96
+ - env : CONF=debug ARCH=x86_64 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=ON CXX17=OFF
97
97
compiler : gcc
98
98
arch : amd64
99
99
cache :
@@ -102,7 +102,7 @@ matrix:
102
102
after_success :
103
103
- pip install --user cpp-coveralls
104
104
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
105
- - env : CONF=debug ARCH=aarch64 GCOV_FLAGS='--coverage'
105
+ - env : CONF=debug ARCH=aarch64 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=OFF CXX17=ON
106
106
compiler : gcc
107
107
arch : arm64
108
108
cache :
@@ -150,7 +150,7 @@ script:
150
150
-DRAPIDJSON_BUILD_CXX17=$CXX17
151
151
-DCMAKE_VERBOSE_MAKEFILE=ON
152
152
-DCMAKE_BUILD_TYPE=$CONF
153
- -DCMAKE_CXX_FLAGS="$ARCH_FLAGS $GCOV_FLAGS"
153
+ -DCMAKE_CXX_FLAGS="$ARCH_FLAGS $GCOV_FLAGS $CXX_FLAGS "
154
154
-DCMAKE_EXE_LINKER_FLAGS=$GCOV_FLAGS
155
155
..)
156
156
- cd build
0 commit comments