forked from AuroraMiddleware/gtk
gitlab-ci: run parts of the test suite
This runs the tests in testsuite/{css,gtk,tools} All others suites have failing tests and need more work.
This commit is contained in:
parent
4a0854484f
commit
65c3f532cf
@ -1,6 +1,7 @@
|
||||
FROM fedora:27
|
||||
|
||||
RUN dnf -y install \
|
||||
adwaita-icon-theme \
|
||||
atk-devel \
|
||||
at-spi2-atk-devel \
|
||||
avahi-gobject-devel \
|
||||
@ -13,15 +14,18 @@ RUN dnf -y install \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
gdk-pixbuf2-devel \
|
||||
gdk-pixbuf2-modules \
|
||||
gettext \
|
||||
git \
|
||||
glib2-devel \
|
||||
gobject-introspection-devel \
|
||||
graphene-devel \
|
||||
iso-codes \
|
||||
itstool \
|
||||
json-glib-devel \
|
||||
libepoxy-devel \
|
||||
libmount-devel \
|
||||
librsvg2 \
|
||||
libXcomposite-devel \
|
||||
libXcursor-devel \
|
||||
libXcursor-devel \
|
||||
@ -32,11 +36,13 @@ RUN dnf -y install \
|
||||
libxkbcommon-devel \
|
||||
libXrandr-devel \
|
||||
libXrender-devel \
|
||||
mesa-dri-drivers \
|
||||
mesa-libEGL-devel \
|
||||
mesa-libwayland-egl-devel \
|
||||
meson \
|
||||
pango-devel \
|
||||
redhat-rpm-config \
|
||||
sassc \
|
||||
vulkan-devel \
|
||||
wayland-devel \
|
||||
wayland-protocols-devel \
|
||||
|
@ -2,8 +2,10 @@
|
||||
|
||||
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" .
|
||||
sudo docker run --rm \
|
||||
--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
|
||||
cd _build_full
|
||||
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