.gitlab-ci.yml: run code coverage with -O0

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2019-01-30 19:23:05 +01:00
parent 75c8211fd6
commit 383c25e239

View File

@@ -69,7 +69,7 @@ Build/Fedora:
# ensure gcov scripts are writable
- umask 000
- git submodule update --init && autoreconf -fvi &&
./configure --disable-maintainer-mode --without-docker-tests --with-werror --enable-code-coverage && make -j$(nproc) && make check -j$(nproc) COVERAGE=1
CFLAGS="-g -O0" ./configure --disable-maintainer-mode --without-docker-tests --with-werror --enable-code-coverage && make -j$(nproc) && make check -j$(nproc) COVERAGE=1
&& make files-update && make dist && make local-code-coverage-output
tags:
- shared