[libgepub/wip/hadess/add-ci] ci: Add CI
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgepub/wip/hadess/add-ci] ci: Add CI
- Date: Wed, 31 Mar 2021 08:14:06 +0000 (UTC)
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]