forked from AuroraMiddleware/gtk
Merge branch 'gitlab-ci-run-gtk-tests' into 'master'
gitlab-ci: run parts of the test suite See merge request GNOME/gtk!22
This commit is contained in:
commit
96f8eec50b
@ -1,6 +1,7 @@
|
|||||||
FROM fedora:27
|
FROM fedora:27
|
||||||
|
|
||||||
RUN dnf -y install \
|
RUN dnf -y install \
|
||||||
|
adwaita-icon-theme \
|
||||||
atk-devel \
|
atk-devel \
|
||||||
at-spi2-atk-devel \
|
at-spi2-atk-devel \
|
||||||
avahi-gobject-devel \
|
avahi-gobject-devel \
|
||||||
@ -13,15 +14,18 @@ RUN dnf -y install \
|
|||||||
gcc \
|
gcc \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
gdk-pixbuf2-devel \
|
gdk-pixbuf2-devel \
|
||||||
|
gdk-pixbuf2-modules \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
glib2-devel \
|
glib2-devel \
|
||||||
gobject-introspection-devel \
|
gobject-introspection-devel \
|
||||||
graphene-devel \
|
graphene-devel \
|
||||||
|
iso-codes \
|
||||||
itstool \
|
itstool \
|
||||||
json-glib-devel \
|
json-glib-devel \
|
||||||
libepoxy-devel \
|
libepoxy-devel \
|
||||||
libmount-devel \
|
libmount-devel \
|
||||||
|
librsvg2 \
|
||||||
libXcomposite-devel \
|
libXcomposite-devel \
|
||||||
libXcursor-devel \
|
libXcursor-devel \
|
||||||
libXcursor-devel \
|
libXcursor-devel \
|
||||||
@ -32,11 +36,13 @@ RUN dnf -y install \
|
|||||||
libxkbcommon-devel \
|
libxkbcommon-devel \
|
||||||
libXrandr-devel \
|
libXrandr-devel \
|
||||||
libXrender-devel \
|
libXrender-devel \
|
||||||
|
mesa-dri-drivers \
|
||||||
mesa-libEGL-devel \
|
mesa-libEGL-devel \
|
||||||
mesa-libwayland-egl-devel \
|
mesa-libwayland-egl-devel \
|
||||||
meson \
|
meson \
|
||||||
pango-devel \
|
pango-devel \
|
||||||
redhat-rpm-config \
|
redhat-rpm-config \
|
||||||
|
sassc \
|
||||||
vulkan-devel \
|
vulkan-devel \
|
||||||
wayland-devel \
|
wayland-devel \
|
||||||
wayland-protocols-devel \
|
wayland-protocols-devel \
|
||||||
|
@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "gitlab-gtk" \
|
TAG="lazka/gitlab-gtk:v1"
|
||||||
|
|
||||||
|
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
|
||||||
--file "Dockerfile" .
|
--file "Dockerfile" .
|
||||||
sudo docker run --rm \
|
sudo docker run --rm \
|
||||||
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
|
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
|
||||||
--tty --interactive "gitlab-gtk" bash
|
--tty --interactive "${TAG}" bash
|
||||||
|
@ -7,3 +7,11 @@ meson -Denable-x11-backend=true -Denable-wayland-backend=true \
|
|||||||
-Denable-broadway-backend=true -Denable-vulkan=yes _build_full
|
-Denable-broadway-backend=true -Denable-vulkan=yes _build_full
|
||||||
cd _build_full
|
cd _build_full
|
||||||
ninja
|
ninja
|
||||||
|
|
||||||
|
xvfb-run -a -s "-screen 0 1024x768x24" \
|
||||||
|
meson test \
|
||||||
|
--print-errorlogs \
|
||||||
|
--suite=gtk+ \
|
||||||
|
--no-suite=gtk+:gdk \
|
||||||
|
--no-suite=gtk+:gsk \
|
||||||
|
--no-suite=gtk+:a11y
|
||||||
|
Loading…
Reference in New Issue
Block a user