summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 33e46eb54bf92e5ab752bae2a7b13ffcd1013a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: fedora:rawhide

variables:
  DEPENDENCIES: gtk-doc gobject-introspection-devel
                gtk3-devel systemd-devel libcanberra-devel libnotify-devel
                meson redhat-rpm-config gcc glibc-devel

build_stable:
  before_script:
    # Work-around https://bugzilla.redhat.com/show_bug.cgi?id=1607172#c4
    - echo "update dnf gdbm" >> translist.txt
    - echo "remove python3-modulemd" >> translist.txt
    - dnf shell -y --nogpgcheck translist.txt
    - dnf update -y --nogpgcheck
    - dnf install -y --nogpgcheck $DEPENDENCIES
  script:
    - meson . _build --prefix=/usr
    - ninja -C _build
    - ninja -C _build install
    - ninja -C _build test