summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 9be9c50bd931e7b147cce940cda283396908f53e (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
39
40
41
42
43
image: fedora:rawhide

variables:
  DEPENDENCIES: gcc
                gcc-c++
                glibc-devel
                make
                libxml2-devel
                glib2-devel
                gettext
                git
                itstool
                xmlto
                findutils
                gettext-devel
                meson

build:autotools:
  before_script:
    - dnf update -y --nogpgcheck
    - dnf install -y --nogpgcheck $DEPENDENCIES
  script:
    - make

    # Compile shared-mime-info
    - git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
    - cd shared-mime-info
    - meson _build -Dxdgmime-path=$PWD/../
    - ninja -C _build test

build:meson:
  before_script:
    - dnf update -y --nogpgcheck
    - dnf install -y --nogpgcheck $DEPENDENCIES
  script:
    - meson _build
    - ninja -C _build

    # Compile shared-mime-info
    - git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
    - cd shared-mime-info
    - meson _build -Dxdgmime-path=$PWD/../_build/
    - ninja -C _build test