ci: Switch from Fedora to Debian for CI

Debian Unstable now has libglib-testing packaged, which can be used to
avoid having to build it as a submodule. Otherwise, building on Debian
should be largely equivalent to building on Fedora.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: !3
This commit is contained in:
Philip Withnall 2020-04-15 13:22:06 +01:00
parent 7813a3c40f
commit d374ea676f
1 changed files with 7 additions and 7 deletions

View File

@ -1,11 +1,11 @@
image: fedora:30 image: debian:unstable
before_script: before_script:
- dnf install -y meson pkgconf-pkg-config gtk-doc - apt update
libxml2-devel dbus-daemon - apt install -y meson pkg-config gtk-doc-tools libxml2-utils
glib2-devel dbus-devel gobject-introspection-devel libglib2.0-dev libgirepository1.0-dev libpam0g-dev
gettext-devel polkit-devel polkit-gnome git gettext policykit-1 libpolkit-gobject-1-dev git
lcov pam-devel gtk3-devel accountsservice-devel flatpak-devel lcov libgtk-3-dev libaccountsservice-dev libflatpak-dev
- export LANG=C.UTF-8 - export LANG=C.UTF-8
stages: stages:
@ -16,7 +16,7 @@ cache:
paths: paths:
- _ccache/ - _ccache/
fedora: debian:
stage: build stage: build
except: except:
- tags - tags