mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
18c1d9672a
The test stage runs the whole meson test suite inside Xvfb inside a dbus session. Running inside Xvfb is required as the cogl, clutter and mutter tests require to run on top of X11; the dbus session is required to make mutter succeed in owning names on the bus. This also updates the Dockerfile to include packages needed for running tests. https://gitlab.gnome.org/GNOME/mutter/issues/193
15 lines
493 B
Docker
15 lines
493 B
Docker
FROM fedora:29
|
|
|
|
RUN dnf -y update && dnf -y upgrade && \
|
|
dnf install -y 'dnf-command(builddep)' && \
|
|
dnf builddep -y mutter && \
|
|
|
|
# Until Fedora catches up with meson build-deps
|
|
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland && \
|
|
|
|
# For running unit tests
|
|
dnf install -y xorg-x11-server-Xvfb mesa-dri-drivers dbus dbus-x11 && \
|
|
|
|
dnf install -y intltool redhat-rpm-config make && \
|
|
dnf clean all
|