]> git.proxmox.com Git - libxdgmime-perl.git/blame - .gitlab-ci.yml
Squashed 'xdgmime-source/' changes from 28b70c4..3e7ee2d
[libxdgmime-perl.git] / .gitlab-ci.yml
CommitLineData
cf31d981
SI
1image: fedora:rawhide
2
3variables:
4 DEPENDENCIES: gcc
5 gcc-c++
6 glibc-devel
7 make
8 libxml2-devel
9 glib2-devel
10 gettext
11 git
12 itstool
13 xmlto
14 findutils
15 gettext-devel
16 meson
17
73d5a30a 18build:autotools:
cf31d981
SI
19 before_script:
20 - dnf update -y --nogpgcheck
21 - dnf install -y --nogpgcheck $DEPENDENCIES
22 script:
23 - make
24
25 # Compile shared-mime-info
26 - git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
27 - cd shared-mime-info
73d5a30a
SI
28 - meson _build -Dxdgmime-path=$PWD/../
29 - ninja -C _build test
30
31build:meson:
32 before_script:
33 - dnf update -y --nogpgcheck
34 - dnf install -y --nogpgcheck $DEPENDENCIES
35 script:
cf31d981 36 - meson _build
73d5a30a
SI
37 - ninja -C _build
38
39 # Compile shared-mime-info
40 - git clone https://gitlab.freedesktop.org/xdg/shared-mime-info.git
41 - cd shared-mime-info
42 - meson _build -Dxdgmime-path=$PWD/../_build/
cf31d981 43 - ninja -C _build test