-
Notifications
You must be signed in to change notification settings - Fork 11
/
.gitlab-ci.yml
49 lines (43 loc) · 1.67 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
# TODO: Fix GTK4 snap package build
allow_failure: true
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-4-dev libadwaita-1-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 gtk4-devel libadwaita-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
before_script:
- pacman -Syu --noconfirm meson vala gettext itstool fribidi gtk4 libadwaita 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.flatpak"
extends: '.flatpak'