[libgepub/wip/hadess/add-ci] ci: Add CI




commit 6bee85e528a67472cef22409a71995d71248fcda
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 31 10:09:10 2021 +0200

    ci: Add CI

 .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ca7e6c2
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,31 @@
+stages:
+  - build
+
+variables:
+  FEDORA_DEPENDENCIES:
+    gcc
+    webkit2gtk3-devel
+    libsoup-devel
+    glib2-devel
+    libxml2-devel
+    libarchive-devel
+    meson
+    git
+  FEDORA_DEPENDENCIES_ABI_CHECK:
+    libabigail
+  LAST_ABI_BREAK: "3dd049036d6d4c70307d1167dc56b283c297f066"
+
+build-fedora:
+  image: fedora:latest
+  stage: build
+  except:
+    - tags
+  before_script:
+    - dnf update -y --nogpgcheck
+    - dnf -y install --nogpgcheck $FEDORA_DEPENDENCIES
+  script:
+    - meson _build
+    - ninja -C _build dist
+    - 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)


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