summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-01 16:42:51 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-01 16:42:51 +0200
commitc4ee1d5857bc5b93d501a42a070be1d9faa3a48a (patch)
treeb132e9a5a451d9e1fb53a8384cd28921358645e5 /.gitlab-ci.yml
parentf7ce29dfea0d0b15706f21edf67cba109bb35147 (diff)
New upstream version 42.5upstream/42.5
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
+