summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2018-03-18 15:46:36 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-03-22 08:27:12 +0100
commitdb2d78023aaf2814b28afd6ce488d98b1100aec5 (patch)
treedae1de531706ac5e66cb8ef88569dc1d5b247dd0 /.gitlab-ci.yml
parent07a900e4d7c4def883de044c37fd1c44dee41417 (diff)
downloadgnutls-db2d78023aaf2814b28afd6ce488d98b1100aec5.tar.gz
The abi-check target was updated to check against the last tag
As abi-dumper and abi-compliance-checker tools are not reliable when run across different systems, we now compare the previous tag ABI with the current compiled library. That is in contrast with the previous behavior of storing the output files of abi-dumper, which can become obsolete on a CI update. That also moves the ABI check only on the CI, and not in the 'make dist' rule as it takes significant time to run. This relates to an issue reported against libidn2's use of abi-compliance-checker but it affects gnutls as they share similar code: https://gitlab.com/libidn/libidn2/issues/42 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b74452b43..cbfd269121 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ stages:
# name to allow expiration of old caches.
cache:
- key: "$CI_JOB_NAME-ver2"
+ key: "$CI_JOB_NAME-ver3"
paths:
- cache/
@@ -60,7 +60,7 @@ abi-coverage.Fedora:
script:
- git submodule update --init --no-fetch
- make autoreconf
- - CFLAGS="-std=c99 -O2 -g" dash ./configure --disable-gcc-warnings --cache-file cache/config.cache --prefix=/usr --libdir=/usr/lib64 --disable-cxx --enable-code-coverage --disable-non-suiteb-curves --disable-maintainer-mode --disable-doc
+ - CFLAGS="-std=c99 -g -Og" dash ./configure --disable-gcc-warnings --cache-file cache/config.cache --prefix=/usr --libdir=/usr/lib64 --enable-code-coverage --disable-non-suiteb-curves --disable-maintainer-mode --disable-doc
&& make -j$(nproc)
- make abi-check
- make pic-check
@@ -74,6 +74,9 @@ abi-coverage.Fedora:
expire_in: 1 week
when: on_failure
paths:
+ - ./*.xml
+ - ./gnutls-prev-abi.tmp/
+ - compat_reports/
- tests/*.log
- tests/*/*.log
- tests/suite/*/*.log