forked from AuroraMiddleware/gtk
3bc8ab91a2
The JUnit cover report is useful, but only up to a point; for instance, it's not used unless it's part of a merge request. This means you don't get a report if you're pushing to a branch that does not have an MR open. With a simple Python script and some minimal templating, we can generate an HTML report from the "I Can't Believe it's not JSON™" log that Meson produces, and keep it as a CI artifact.
86 lines
1.7 KiB
Docker
86 lines
1.7 KiB
Docker
FROM fedora:29
|
|
|
|
RUN dnf -y install \
|
|
hicolor-icon-theme \
|
|
adwaita-icon-theme \
|
|
atk-devel \
|
|
at-spi2-atk-devel \
|
|
avahi-gobject-devel \
|
|
cairo-devel \
|
|
cairo-gobject-devel \
|
|
ccache \
|
|
colord-devel \
|
|
cups-devel \
|
|
dejavu-sans-mono-fonts \
|
|
desktop-file-utils \
|
|
elfutils-libelf-devel \
|
|
fribidi-devel \
|
|
gcc \
|
|
gcc-c++ \
|
|
gdk-pixbuf2-devel \
|
|
gdk-pixbuf2-modules \
|
|
gettext \
|
|
git \
|
|
glib2-devel \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
gobject-introspection-devel \
|
|
graphene-devel \
|
|
gstreamer1-devel \
|
|
gstreamer1-plugins-good \
|
|
gstreamer1-plugins-bad-free-devel \
|
|
gstreamer1-plugins-base-devel \
|
|
gtk-doc \
|
|
iso-codes \
|
|
itstool \
|
|
json-glib-devel \
|
|
lcov \
|
|
libattr-devel \
|
|
libepoxy-devel \
|
|
libffi-devel \
|
|
libmount-devel \
|
|
librsvg2 \
|
|
libselinux-devel \
|
|
libXcomposite-devel \
|
|
libXcursor-devel \
|
|
libXcursor-devel \
|
|
libXdamage-devel \
|
|
libXfixes-devel \
|
|
libXi-devel \
|
|
libXinerama-devel \
|
|
libxkbcommon-devel \
|
|
libXrandr-devel \
|
|
libXrender-devel \
|
|
libxslt \
|
|
mesa-dri-drivers \
|
|
mesa-libEGL-devel \
|
|
mesa-libwayland-egl-devel \
|
|
ninja-build \
|
|
pango-devel \
|
|
pcre-devel \
|
|
python3 \
|
|
python3-pip \
|
|
python3-wheel \
|
|
redhat-rpm-config \
|
|
sassc \
|
|
systemtap-sdt-devel \
|
|
vulkan-devel \
|
|
wayland-devel \
|
|
wayland-protocols-devel \
|
|
which \
|
|
xorg-x11-server-Xvfb \
|
|
&& dnf clean all
|
|
|
|
RUN pip3 install meson==0.50.0
|
|
|
|
RUN pip3 install jinja2
|
|
|
|
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
|