summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-07-16 15:34:32 +0100
committerRay Strode <halfline@gmail.com>2020-07-08 19:20:46 +0000
commit9b485f6655eee52335d59aa1bc2795f869411715 (patch)
tree9d7a256ec4b2e9758a07c89c68f8e1edc7239020
parent480f3e6daa400f77087bdf3c89db7ca77cf79fd0 (diff)
Add CI pipeline for Plymouth
We can use GitLab's CI/CD support to run a build.
-rw-r--r--.gitlab-ci.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..31d7bd3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+stages:
+ - build
+
+.autotools-build: &autotools-build
+ script:
+ - NOCONFIGURE=1 ./autogen.sh
+ - mkdir _build && cd _build
+ - ../configure --prefix /usr --disable-documentation --disable-dependency-tracking
+ - make
+
+fedora-x86_64:
+ stage: build
+ image: fedora:30
+ before_script:
+ - dnf install -y gcc libtool intltool gtk3-devel git libpng-devel gettext-devel libxslt docbook-style-xsl cairo-devel systemd-devel systemd-udev kernel-headers libdrm-devel pango-devel make
+ <<: *autotools-build
+
+debian-stable-x86_64:
+ stage: build
+ image: debian:stable
+ before_script:
+ - apt-get update -qq
+ - apt-get install -y -qq --no-install-recommends autoconf automake autopoint bc build-essential docbook-xsl gcc gettext git intltool libdrm-dev libgtk-3-dev libpango1.0-dev libpng-dev libtool libudev-dev make pkg-config libsystemd-dev udev xsltproc
+ <<: *autotools-build