blob: d9d14e5817544c71305ad3ddcd93882a6d77b2d0 (
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
|
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_QUVI: libquvi-devel
DEPS_ABI_CHECK: libsoup-devel gmime-devel
TEST_DEPS: gvfs dbus-daemon shared-mime-info
LAST_ABI_BREAK: "9ccc3c78a5a41b86bdd2c9fb63ad4963e65e4f63"
build-fedora:
image: fedora:latest
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
# And now with quvi support
- rm -rf _build
- dnf install -y $DEPS_QUVI
- meson _build
- GIO_USE_VOLUME_MONITOR=unix dbus-run-session ninja -C _build test
- ninja -C _build install
# ABI check, the deps are needed to build the old version of totem-pl-parser
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
- dnf install -y $DEPS_ABI_CHECK
- check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
|