summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-01 16:42:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-01 16:42:54 +0200
commit238b29fda5214e45a216f644c6211b8bf284ae73 (patch)
tree70ed28b37d71c48197564ed1989a3ff22e7e4fed /.gitlab-ci.yml
parent88547b74b4d6b6ead74c8b88a0b302cc6ac9c4a0 (diff)
parentc4ee1d5857bc5b93d501a42a070be1d9faa3a48a (diff)
Update upstream source from tag 'upstream/42.5'
Update to upstream version '42.5' with Debian dir 264e51c7cf60c3e37be80725242db36b8adae8f1
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml49
1 files changed, 49 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..15a10c0
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,49 @@
+build:snap:
+ image: ubuntudesktop/gnome-3-38-2004
+ before_script:
+ - apt-get update
+ - DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends ca-certificates
+ script: snapcraft
+ artifacts:
+ paths: ['./*.snap']
+ expire_in: 3 days
+
+build-ubuntu:
+ image: ubuntu:rolling
+ before_script:
+ - apt-get update
+ - DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends meson valac gcc gettext itstool libfribidi-dev libgirepository1.0-dev libgtk-3-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libwebp-dev libsane-dev git ca-certificates
+ script:
+ - meson _build
+ - ninja -C _build install
+
+build-fedora:
+ image: fedora:latest
+ before_script:
+ - dnf install -y meson vala gettext itstool fribidi-devel gtk3-devel gobject-introspection-devel libgusb-devel colord-devel PackageKit-glib-devel libwebp-devel sane-backends-devel git
+ script:
+ - meson _build
+ - ninja -C _build install
+
+build-arch:
+ image: archlinux/base:latest
+ before_script:
+ - pacman -Syu --noconfirm meson vala gettext itstool fribidi gtk3 gobject-introspection libgusb colord libwebp sane git
+ script:
+ - meson _build
+ - ninja -C _build install
+ allow_failure: true
+
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
+flatpak:
+ variables:
+ MANIFEST_PATH: "build-aux/flatpak/org.gnome.SimpleScan.json"
+ FLATPAK_MODULE: "simple-scan"
+ APP_ID: "org.gnome.SimpleScan"
+ RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
+ BUNDLE: "simple-scan-dev.flatpak"
+ extends: '.flatpak'
+ # Make CI pass while I figure things out
+ allow_failure: true
+