summaryrefslogtreecommitdiff
path: root/.gitlab-ci/fedora.Dockerfile
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-04-14 11:48:55 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-04-14 13:29:14 +0100
commit7b66f9604ddb4743276f38b6a17f10bf4d446583 (patch)
treea141e973ea4508263c4c164f258d112c220e7d20 /.gitlab-ci/fedora.Dockerfile
parent6cf5295de3fd8297c9fab7d07b44e83d01753aee (diff)
downloadpango-7b66f9604ddb4743276f38b6a17f10bf4d446583.tar.gz
Improve the Pango CI pipeline on Linux
Use a scaled down version of the GTK and GLib CI set ups, with a custom Docker image and multiple stages. The CI pipeline now generates a JUnit report, which integrates with the GitLab merge requests; builds the documentation as a separate stage; and publishes the API reference for the master branch at the end.
Diffstat (limited to '.gitlab-ci/fedora.Dockerfile')
-rw-r--r--.gitlab-ci/fedora.Dockerfile49
1 files changed, 49 insertions, 0 deletions
diff --git a/.gitlab-ci/fedora.Dockerfile b/.gitlab-ci/fedora.Dockerfile
new file mode 100644
index 00000000..c1aadc93
--- /dev/null
+++ b/.gitlab-ci/fedora.Dockerfile
@@ -0,0 +1,49 @@
+FROM fedora:31
+
+RUN dnf -y install \
+ abattis-cantarell-fonts \
+ cairo-devel \
+ cairo-gobject-devel \
+ ccache \
+ clang \
+ clang-analyzer \
+ desktop-file-utils \
+ diffutils \
+ fribidi-devel \
+ gcc \
+ gcc-c++ \
+ gettext \
+ git \
+ glib2-devel \
+ glib2-static \
+ glibc-devel \
+ glibc-headers \
+ glibc-langpack-en \
+ gobject-introspection-devel \
+ google-droid-sans-fonts \
+ gtk-doc \
+ harfbuzz-devel \
+ hicolor-icon-theme \
+ itstool \
+ lcov \
+ libthai-devel \
+ ninja-build \
+ python3 \
+ python3-jinja2 \
+ python3-pip \
+ python3-pygments \
+ python3-wheel \
+ redhat-rpm-config \
+ thai-scalable-waree-fonts \
+ && dnf clean all
+
+RUN pip3 install meson==0.53.1
+
+ARG HOST_USER_ID=5555
+ENV HOST_USER_ID ${HOST_USER_ID}
+RUN useradd -u $HOST_USER_ID -ms /bin/bash user
+
+USER user
+WORKDIR /home/user
+
+ENV LANG C.UTF-8