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




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

    ci: Add ABI check

 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f72190..1a42031 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,8 @@ build_stable:
     - ../autogen.sh --prefix=/usr --sysconfdir=/etc
     - make
     - make install
+    - cd ..
+    # 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]