summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e551f19f1cc3c6b6edac631f48b1698711c54b95 (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
29
30
31
32
33
34
35
36
37
38
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=true -Denable-grl-pls=true
    - ninja -C _build
    - ninja -C _build install
    - ninja -C _build test