[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:09:34 +0000 (UTC)
commit 35e82d49cf3bdacf47f530639cac98c3bf05fa69
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 31 10:09:10 2021 +0200
ci: Add CI
.gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4858270
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,30 @@
+stages:
+ - build
+
+variables:
+ FEDORA_DEPENDENCIES:
+ 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]