summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 1e518ce3a2ffd1c7fcf6abfba40dd7a67aa9dced (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
image: fedora:latest

variables:
  DEPENDENCIES: chrpath vala gtk-doc
                gobject-introspection-devel libxml2-devel
                libsoup-devel glib2-devel gtk3-devel
                liboauth-devel totem-pl-parser-devel
                meson redhat-rpm-config gcc gcc-c++ glibc-devel

build_stable:
  before_script:
    - 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

build_no_optional_libs:
  before_script:
    - dnf update -y --nogpgcheck
    - dnf install -y --nogpgcheck $DEPENDENCIES
  script:
    - meson . _build --prefix=/usr -Denable-grl-net=false -Denable-grl-pls=false
    - ninja -C _build
    - ninja -C _build install
    - ninja -C _build test