summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2022-07-02 13:04:35 -0400
committerLogan Rathbone <poprocks@gmail.com>2022-07-02 13:04:35 -0400
commit6318f855f8702d52a11ab747882d74abd8b4dfe6 (patch)
tree3128663293ac12efc11fcbe149431ff130e33b51
parentRemove HACKING file (diff)
downloadzenity-6318f855f8702d52a11ab747882d74abd8b4dfe6.tar.gz
zenity-6318f855f8702d52a11ab747882d74abd8b4dfe6.tar.bz2
zenity-6318f855f8702d52a11ab747882d74abd8b4dfe6.zip
CI: Add Ubuntu target
Primarily for testing webkitgtk builds. No guarantee this will match the build flags used in Ubuntu's actual packaging of Zenity.
-rw-r--r--.gitlab-ci.yml24
1 files changed, 20 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7437fd7a..1c61c196 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,27 @@
variables:
- DEPENDENCIES: gettext gettext-devel gcc redhat-rpm-config meson libtool git
+ FEDORA_DEPENDENCIES: gettext gettext-devel gcc redhat-rpm-config meson libtool git
gtk3-devel yelp-tools
-build_fedora_33:
- image: fedora:33
+ UBUNTU_DEPENDENCIES: meson git gcc gettext libtool libnotify-dev libgtk-3-dev
+ libwebkit2gtk-4.1-dev yelp-tools
+
+# Fedora does a plain vanilla build in its specfile with no meson options
+# https://src.fedoraproject.org/rpms/zenity/blob/rawhide/f/zenity.spec
+
+build_fedora:
+ image: fedora:latest
before_script:
- - dnf install -y --nogpgcheck $DEPENDENCIES
+ - dnf install -y --nogpgcheck $FEDORA_DEPENDENCIES
script:
- meson --buildtype=debug build
- ninja -v -C build
+
+# Ubuntu image here is mostly to test whether the webkitgtk build works
+
+build_ubuntu:
+ image: ubuntu:rolling
+ before_script:
+ - apt-get install -q -y --no-install-recommends $UBUNTU_DEPENDENCIES
+ script:
+ - meson --buildtype=debug -Dlibnotify=true -Dwebkitgtk=true build
+ - ninja -v -C build
bgstack15