Commit b8d80fcb authored by Marco Trevisan's avatar Marco Trevisan
Browse files

ci: Include libfprint templates to sync with its dependencies

Use libfprint templates in order to get its dependencies without having to
manually keep a list of them in sync
parent 32c2ccdd
image: fedora:rawhide
include:
- project: 'libfprint/libfprint'
ref: master
file: '/.gitlab-ci/libfprint-templates.yaml'
variables:
DEPENDENCIES: dbus-glib-devel pam-devel polkit-devel
gtk-doc meson gettext gcovr
gcc gcc-c++ glibc-devel python3-dbusmock python3-libpamtest systemd-devel
DEPENDENCIES_STABLE: $DEPENDENCIES libfprint-devel
DEPENDENCIES_DEV: $DEPENDENCIES git
# Sync'ed up with https://gitlab.freedesktop.org/libfprint/libfprint/blob/master/.gitlab-ci.yml
# and stripped down to remove dependencies that are not strictly needed
DEPENDENCIES_LIBFPRINT: libgusb-devel glib2-devel meson
gcc gcc-c++ glibc-devel
gobject-introspection-devel python3-cairo python3-gobject
.install_libfprint_dev: &install_libfprint_dev
before_script:
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES_LIBFPRINT $DEPENDENCIES_DEV
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $LIBFPRINT_DEPENDENCIES $DEPENDENCIES_DEV
- git clone https://gitlab.freedesktop.org/libfprint/libfprint.git
- cd libfprint
- meson . _build --prefix=/usr -Ddrivers=virtual_image -Ddoc=false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment