summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-10-01 16:43:18 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-10-01 16:43:18 +0200
commit9cec6dcb23ac73a91e3b6d00da37c129d27c0cf1 (patch)
tree70ed28b37d71c48197564ed1989a3ff22e7e4fed /.gitlab-ci.yml
parent993a9af40f56188cbb3d139ad0811d5246aef848 (diff)
parent238b29fda5214e45a216f644c6211b8bf284ae73 (diff)
Merge branch 'feature/upstream' into develop
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
+