Files
iio-sensor-proxy/.gitlab-ci.yml
Bastien Nocera 0b1574d0eb main: Check whether user is allowed to claim a sensor
Check whether a particular user/D-Bus client is allowed to claim a
sensor.

The ClaimCompass method on net.hadess.SensorProxy.Compass doesn't have a
check as only the geoclue user is allowed to access this interface, as
per the D-Bus configuration.
2021-09-29 12:06:55 +02:00

40 lines
1.1 KiB
YAML

image: fedora:rawhide
variables:
DEPENDENCIES: gcc
glibc-langpack-fr
gtk-doc
pkgconfig(udev)
pkgconfig(systemd)
pkgconfig(gio-2.0)
pkgconfig(gudev-1.0)
pkgconfig(polkit-gobject-1)
systemd
gtk3-devel
meson
git
python3-gobject
python3-dbusmock
python3-psutil
umockdev
build_stable:
before_script:
# Undo delangification present in the Fedora Docker images
- rm -f /etc/rpm/macros.image-language-conf
- dnf update -y && dnf install -y $DEPENDENCIES
- dnf reinstall -y glib2
script:
- meson -Dgtk_doc=true -Dgtk-tests=true _build
- ninja -v -C _build
- ninja -v -C _build install
- ninja -v -C _build uninstall
- ninja -v -C _build dist
- meson test -C _build
artifacts:
when: always
name: "iio-sensor-proxy-${CI_COMMIT_REF_NAME}"
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
- "${CI_PROJECT_DIR}/_build/meson-dist"