[gsound/wip/hadess/add-ci: 2/2] ci: Add ABI check




commit 6abd0d64e4a4f57c8418d2fc83e1029d9a65bd0b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 21 17:08:13 2021 +0200

    ci: Add ABI check

 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f72190..8d6a3ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,9 @@ variables:
     gtk-doc
     gobject-introspection-devel
     libcanberra-devel
+  DEPENDENCIES_ABI_CHECK:
+    libabigail
+  LAST_ABI_BREAK: "a86946b494aa32782b3f6334344d07b5c11d5219"
 
 build_stable:
   before_script:
@@ -23,3 +26,7 @@ build_stable:
     - ../autogen.sh --prefix=/usr --sysconfdir=/etc
     - make
     - make install
+    # Check on ABI
+    - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
+    - dnf install -y $DEPENDENCIES_ABI_CHECK
+    - check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]