summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-03-30 11:26:00 +0200
committerBastien Nocera <hadess@hadess.net>2021-03-30 11:42:45 +0200
commitcc042e18330f86bd01e63c3603d23aa4e74ccb92 (patch)
treeb6a5c806326e77b0e2bcaf9b9d8cbf77957aa041
parent38b8e65e00fc32524736c31881d44193daf8e1e3 (diff)
downloadlibgtop-cc042e18330f86bd01e63c3603d23aa4e74ccb92.tar.gz
ci: Add ABI checkwip/hadess/check-abi
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 60367ed7..5854e7f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,10 @@ variables:
perl
texinfo
texinfo-tex
+ FEDORA_DEPENDENCIES_ABI_CHECK:
+ libabigail
+ intltool
+ LAST_ABI_BREAK: "abccaf488a929de1e95e6a748485575dec52c998"
build-fedora:
image: fedora:latest
@@ -27,3 +31,7 @@ build-fedora:
- make
- make install
- make distcheck
+ - cd ..
+ - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
+ - dnf install -y $FEDORA_DEPENDENCIES_ABI_CHECK
+ - check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)