File tree 1 file changed +32
-0
lines changed 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,38 @@ jobs:
146
146
- EXTRA_CXXFLAGS="-DDEBUG"
147
147
script : echo "Not running any tests for a debug build."
148
148
149
+ # Ubuntu Linux with glibc using g++-7, coverage mode
150
+ - stage : Test different OS/CXX/Flags
151
+ os : linux
152
+ sudo : false
153
+ compiler : gcc
154
+ cache : ccache
155
+ addons :
156
+ apt :
157
+ sources :
158
+ - ubuntu-toolchain-r-test
159
+ packages :
160
+ - g++-7
161
+ - jq
162
+ - gdb
163
+ before_install :
164
+ - mkdir bin
165
+ - ln -s /usr/bin/gcc-7 bin/gcc
166
+ - ln -s /usr/bin/g++-7 bin/g++
167
+ install :
168
+ - ccache -z
169
+ - ccache --max-size=1G
170
+ - cmake -H. -Bbuild '-Denable_coverage=1' '-Dparallel_tests=2' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-7'
171
+ - git submodule update --init --recursive
172
+ - make -C build coverage
173
+ env :
174
+ - COMPILER="ccache /usr/bin/g++-7"
175
+ - EXTRA_CXXFLAGS="-DDEBUG"
176
+ script : echo "Running any tests for a debug build."
177
+ after_success :
178
+ # codecov
179
+ - bash <(curl -s https://codecov.io/bash)
180
+
149
181
# Ubuntu Linux with glibc using clang++-7, debug mode, disable USE_DSTRING
150
182
- stage : Test different OS/CXX/Flags
151
183
os : linux
You can’t perform that action at this time.
0 commit comments