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




commit 8ac9cc5e3471f7f04f278a769b3c1911f62d9be2
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 8188850..e580884 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,9 @@ variables:
     gobject-introspection-devel
     libcanberra-devel
     vala
+  DEPENDENCIES_ABI_CHECK:
+    libabigail
+  LAST_ABI_BREAK: "a86946b494aa32782b3f6334344d07b5c11d5219"
 
 build_stable:
   before_script:
@@ -24,3 +27,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]