blob: fb50b5da919f34b2cc645ce7c1e64b272629fd45 (
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
44
45
46
47
48
49
|
image: fedora:latest
variables:
DEPENDENCIES:
redhat-rpm-config
meson
git
gettext
gtk-doc
meson
glib2-devel
libxml2-devel
gobject-introspection-devel
libgcrypt-devel
libarchive-devel
uchardet-devel
DEPS_ABI_CHECK:
libsoup-devel
gmime-devel
TEST_DEPS:
gvfs
dbus-daemon
shared-mime-info
LAST_ABI_BREAK: "9ccc3c78a5a41b86bdd2c9fb63ad4963e65e4f63"
build-fedora:
before_script:
# Update
- dnf -y update && dnf install -y $DEPENDENCIES
script:
- meson _build
- dnf install -y $TEST_DEPS
- GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build test
- ninja -C _build install
# dist also runs the tests
- GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build dist
artifacts:
when: always
paths:
- _build/meson-logs/*
- _build/meson-dist/totem-pl-parser-*.tar.xz
check_abi:
before_script:
# ABI check, the deps are needed to build the old version of totem-pl-parser
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES $DEPS_ABI_CHECK
script:
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
- check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
|