summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 369b80909e30c24a7bdaa7da23b1871f6066a063 (plain)
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
variables:
  FEDORA_DEPENDENCIES: gettext gettext-devel gcc redhat-rpm-config meson libtool git
                gtk3-devel yelp-tools

  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 $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 update
    - apt-get install -q -y --no-install-recommends $UBUNTU_DEPENDENCIES
  script:
    - meson --buildtype=debug -Dlibnotify=true -Dwebkitgtk=true build
    - ninja -v -C build
bgstack15