mesa/.gitlab-ci/common/weston.sh
Eric Engestrom 8156b83942
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
ci: drop xorg + weston workaround now that no user is left
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36559>
2025-08-05 10:17:32 +00:00

12 lines
293 B
Bash
Executable file

#!/usr/bin/env bash
CI_COMMON_DIR=$(dirname -- "${BASH_SOURCE[0]}")
mkdir -p /tmp/.X11-unix
export DISPLAY=:0
WAYLAND_DISPLAY=wayland-0
weston --config="$CI_COMMON_DIR/weston.ini" --socket="$WAYLAND_DISPLAY" "$@" &
export WAYLAND_DISPLAY
while [ ! -S /tmp/.X11-unix/X0 ]; do sleep 1; done