mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
2611ee14b5
In order to run gnome-shell as part of the CI pipeline, we need an additional runtime dependency plus python3 modules to mock required system services and run gnome-shell-perf-tool. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1401
29 lines
971 B
Docker
29 lines
971 B
Docker
# Rebuild and push with
|
|
#
|
|
# cd .gitlab-ci/
|
|
# podman build --format docker --no-cache -t registry.gitlab.gnome.org/gnome/mutter/master:v4 .
|
|
# podman push registry.gitlab.gnome.org/gnome/mutter/master:v4
|
|
#
|
|
|
|
FROM fedora:32
|
|
|
|
RUN dnf -y update && dnf -y upgrade && \
|
|
dnf install -y 'dnf-command(builddep)' && \
|
|
dnf install -y 'dnf-command(copr)' && \
|
|
dnf copr enable -y jadahl/mutter-ci && \
|
|
|
|
dnf builddep -y mutter --setopt=install_weak_deps=False && \
|
|
|
|
# For running unit tests
|
|
dnf install -y xorg-x11-server-Xvfb mesa-dri-drivers dbus dbus-x11 \
|
|
'*/xvfb-run' gdm-lib accountsservice-libs gnome-control-center gcovr \
|
|
libnma python3-gobject python3-dbusmock \
|
|
--setopt=install_weak_deps=False && \
|
|
|
|
# GNOME Shell
|
|
dnf builddep -y gnome-shell --setopt=install_weak_deps=False && \
|
|
dnf remove -y gnome-bluetooth-libs-devel && \
|
|
dnf remove -y --noautoremove mutter mutter-devel && \
|
|
|
|
dnf clean all
|