mirror of https://gitlab.freedesktop.org/mesa/mesa
ci: Start weston with Xwayland
This can be used instead of HWCI_START_XORG to provide X in CI. It will only be actually used if HWCI_START_XORG is not set in the same job. It is particularly useful as weston has the explicit headless backend which is more straightforward to use in the headless systems in CI. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20393>
This commit is contained in:
parent
c91a78c03a
commit
9b29876a02
|
@ -146,9 +146,13 @@ if [ -n "$HWCI_START_WESTON" ]; then
|
|||
export XDG_RUNTIME_DIR=/run/user
|
||||
mkdir -p $XDG_RUNTIME_DIR
|
||||
|
||||
# Xwayland to be used when HWCI_START_XORG is not set
|
||||
export DISPLAY=:0
|
||||
mkdir -p /tmp/.X11-unix
|
||||
|
||||
env \
|
||||
VK_ICD_FILENAMES=/install/share/vulkan/icd.d/${VK_DRIVER}_icd.`uname -m`.json \
|
||||
weston -Bheadless-backend.so --use-gl -Swayland-0 &
|
||||
weston -Bheadless-backend.so --use-gl -Swayland-0 --xwayland &
|
||||
export WAYLAND_DISPLAY=wayland-0
|
||||
sleep 1
|
||||
fi
|
||||
|
|
|
@ -106,6 +106,7 @@ apt-get -y install --no-install-recommends \
|
|||
wget \
|
||||
xinit \
|
||||
xserver-xorg-core \
|
||||
xwayland \
|
||||
zstd
|
||||
|
||||
|
||||
|
|
|
@ -14,12 +14,12 @@ variables:
|
|||
DEBIAN_X86_TEST_IMAGE_VK_PATH: "debian/x86_test-vk"
|
||||
DEBIAN_X86_TEST_IMAGE_PATH: ${DEBIAN_X86_TEST_IMAGE_GL_PATH}
|
||||
|
||||
DEBIAN_X86_TEST_GL_TAG: "2022-11-17-weston"
|
||||
DEBIAN_X86_TEST_GL_TAG: "2023-01-08-weston-xwayland"
|
||||
DEBIAN_X86_TEST_VK_TAG: "2022-12-12-vkd3d-proton-uprev"
|
||||
|
||||
ALPINE_X86_BUILD_TAG: "2022-11-15-alpine-bringup"
|
||||
FEDORA_X86_BUILD_TAG: "2022-09-22-python3-ply-2"
|
||||
KERNEL_ROOTFS_TAG: "2023-01-06-virglrenderer"
|
||||
KERNEL_ROOTFS_TAG: "2023-01-08-weston-xwayland"
|
||||
|
||||
WINDOWS_X64_VS_PATH: "windows/x64_vs"
|
||||
WINDOWS_X64_VS_TAG: "2022-10-20-upgrade-zlib"
|
||||
|
|
Loading…
Reference in New Issue