diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2018-06-14 21:01:35 +0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-07 11:24:28 +0000 |
commit | a8e9f46ed856d2719a29dcb460ea4386833e62a1 (patch) | |
tree | 0b38afb55a7b5be5d4f4005950e1992f7947ec67 /.gitlab-ci | |
parent | fe78467815bfc5b314282843f1859b7cdcf26396 (diff) | |
download | mutter-a8e9f46ed856d2719a29dcb460ea4386833e62a1.tar.gz |
Add .gitlab-ci.yml for build testing
This adds compilation testing using meson on the gitlab instance. It
uses a prebuild image built, described in .gitlab-ci/Dockerfile, based
on Fedora 29.
The image is build and published by running:
cd .gitlab-ci/
docker build -t registry.gitlab.gnome.org/gnome/mutter/master:v1 .
docker push registry.gitlab.gnome.org/gnome/mutter/master:v1
Resolves: https://gitlab.gnome.org/GNOME/mutter/merge_requests/132
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile new file mode 100644 index 000000000..eba733c79 --- /dev/null +++ b/.gitlab-ci/Dockerfile @@ -0,0 +1,11 @@ +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 && \ + + dnf install -y intltool redhat-rpm-config make && \ + dnf clean all |