mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
gitlab-ci: run tests too
This commit is contained in:
parent
0503ecaf84
commit
9056fb00b0
@ -2,10 +2,45 @@ image: registry.gitlab.gnome.org/gnome/mutter/master:v1
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
build-mutter:
|
build-mutter:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- meson . build -Degl_device=true -Dwayland_eglstream=true
|
- meson . build -Degl_device=true -Dwayland_eglstream=true -Dheadless_tests=enabled
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
- ninja -C build install
|
- ninja -C build install
|
||||||
|
- meson test -v -C build --suite headless
|
||||||
|
# artifacts:
|
||||||
|
# paths:
|
||||||
|
# - build
|
||||||
|
|
||||||
|
# test-cogl:
|
||||||
|
# stage: test
|
||||||
|
# dependencies:
|
||||||
|
# - build-mutter
|
||||||
|
# artifacts:
|
||||||
|
# paths:
|
||||||
|
# - build
|
||||||
|
# script:
|
||||||
|
# - meson test -v -C build --suite cogl-headless
|
||||||
|
|
||||||
|
# test-clutter:
|
||||||
|
# stage: test
|
||||||
|
# dependencies:
|
||||||
|
# - build-mutter
|
||||||
|
# artifacts:
|
||||||
|
# paths:
|
||||||
|
# - build
|
||||||
|
# script:
|
||||||
|
# - meson test -v -C build --suite clutter-headless
|
||||||
|
|
||||||
|
# test-mutter:
|
||||||
|
# stage: test
|
||||||
|
# dependencies:
|
||||||
|
# - build-mutter
|
||||||
|
# artifacts:
|
||||||
|
# paths:
|
||||||
|
# - build
|
||||||
|
# script:
|
||||||
|
# - meson test -v -C build --suite mutter-headless
|
||||||
|
@ -7,5 +7,8 @@ RUN dnf -y update && dnf -y upgrade && \
|
|||||||
# Until Fedora catches up with meson build-deps
|
# Until Fedora catches up with meson build-deps
|
||||||
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland && \
|
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland && \
|
||||||
|
|
||||||
|
# To enable testing headless
|
||||||
|
dnf install -y xorg-x11-server-Xvfb && \
|
||||||
|
|
||||||
dnf install -y intltool redhat-rpm-config make && \
|
dnf install -y intltool redhat-rpm-config make && \
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
@ -89,6 +89,7 @@ foreach test : clutter_conform_tests
|
|||||||
suite: ['clutter-headless', 'clutter-headless/conform', 'headless'],
|
suite: ['clutter-headless', 'clutter-headless/conform', 'headless'],
|
||||||
env: test_env,
|
env: test_env,
|
||||||
is_parallel: false,
|
is_parallel: false,
|
||||||
|
timeout: 60,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
Loading…
Reference in New Issue
Block a user