@@ -108,6 +108,7 @@ jobs:
108
108
env :
109
109
- COMPILER="ccache /usr/bin/g++-5"
110
110
- EXTRA_CXXFLAGS="-D_GLIBCXX_DEBUG"
111
+ - WITH_MEMORY_ANALYZER=1
111
112
112
113
# OS X using clang++
113
114
- stage : Test different OS/CXX/Flags
@@ -118,7 +119,9 @@ jobs:
118
119
before_install :
119
120
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache parallel gdb
120
121
- export PATH=$PATH:/usr/local/opt/ccache/libexec
121
- env : COMPILER="ccache clang++"
122
+ env :
123
+ - COMPILER="ccache clang++"
124
+ - WITH_MEMORY_ANALYZER=0
122
125
123
126
# Ubuntu Linux with glibc using g++-5, debug mode
124
127
- stage : Test different OS/CXX/Flags
@@ -144,6 +147,7 @@ jobs:
144
147
env :
145
148
- COMPILER="ccache /usr/bin/g++-5"
146
149
- EXTRA_CXXFLAGS="-DDEBUG"
150
+ - WITH_MEMORY_ANALYZER=1
147
151
script : echo "Not running any tests for a debug build."
148
152
149
153
# Ubuntu Linux with glibc using clang++-7, debug mode, disable USE_DSTRING
@@ -175,6 +179,7 @@ jobs:
175
179
- COMPILER="ccache /usr/bin/clang++-7"
176
180
- EXTRA_CXXFLAGS="-Qunused-arguments -fcolor-diagnostics -DDEBUG -DUSE_STD_STRING"
177
181
- CCACHE_CPP2=yes
182
+ - WITH_MEMORY_ANALYZER=1
178
183
script : echo "Not running any tests for a debug build."
179
184
180
185
# cmake build using g++-7, enable NAMED_SUB_IS_FORWARD_LIST
@@ -200,7 +205,7 @@ jobs:
200
205
install :
201
206
- ccache -z
202
207
- ccache --max-size=1G
203
- - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7' '-DCMAKE_CXX_FLAGS=-DNAMED_SUB_IS_FORWARD_LIST'
208
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7' '-DCMAKE_CXX_FLAGS=-DNAMED_SUB_IS_FORWARD_LIST' '-DWITH_MEMORY_ANALYZER=On'
204
209
- git submodule update --init --recursive
205
210
- cmake --build build -- -j4
206
211
script : (cd build; bin/unit "[core][irept]")
@@ -228,7 +233,7 @@ jobs:
228
233
install :
229
234
- ccache -z
230
235
- ccache --max-size=1G
231
- - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7' '-DCMAKE_USE_CUDD=true' -DCMAKE_CXX_FLAGS="-DBDD_GUARDS"
236
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7' '-DCMAKE_USE_CUDD=true' -DCMAKE_CXX_FLAGS="-DBDD_GUARDS" '-DWITH_MEMORY_ANALYZER=On'
232
237
- git submodule update --init --recursive
233
238
- cmake --build build -- -j4
234
239
script : (cd build; ctest -V -L CORE -j2)
@@ -264,7 +269,7 @@ jobs:
264
269
install :
265
270
- ccache -z
266
271
- ccache --max-size=1G
267
- - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-7' '-DCMAKE_CXX_FLAGS=-Qunused-arguments'
272
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-7' '-DCMAKE_CXX_FLAGS=-Qunused-arguments' '-DWITH_MEMORY_ANALYZER=On'
268
273
- git submodule update --init --recursive
269
274
- cmake --build build -- -j4
270
275
script : (cd build; ctest -V -L CORE -j2)
@@ -321,6 +326,7 @@ jobs:
321
326
env :
322
327
- NAME="COVERITY_SCAN"
323
328
- COMPILER="ccache g++"
329
+ - WITH_MEMORY_ANALYZER=1
324
330
script : echo "This is coverity build. No need for tests."
325
331
326
332
install :
0 commit comments