mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 16:36:14 +01:00
961be2b0bf
Use lcov for both Fedora and MSYS2 to create coverage reports and add a second ci stage which merges the coverage and creates a html report using genhtml. In the final stage, which is only run on master, the result is published on gitlab pages. https://bugzilla.gnome.org/show_bug.cgi?id=795636
40 lines
652 B
Docker
40 lines
652 B
Docker
FROM fedora:27
|
|
|
|
RUN dnf -y install \
|
|
desktop-file-utils \
|
|
elfutils-libelf-devel \
|
|
findutils \
|
|
gcc \
|
|
gcc-c++ \
|
|
gettext \
|
|
git \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
gtk-doc \
|
|
itstool \
|
|
lcov \
|
|
libattr-devel \
|
|
libffi-devel \
|
|
libmount-devel \
|
|
libselinux-devel \
|
|
libxslt \
|
|
ninja-build \
|
|
pcre-devel \
|
|
python3 \
|
|
python3-pip \
|
|
python3-wheel \
|
|
systemtap-sdt-devel \
|
|
zlib-devel \
|
|
&& dnf clean all
|
|
|
|
RUN pip3 install meson
|
|
|
|
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
|