mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
ci: Add a weston.ini
This lets us avoid a few command line options. Also, we're to need it for setting the XWayland path, which isn't available as a command line option. Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36026>
This commit is contained in:
parent
466c0a69dd
commit
a503e86615
3 changed files with 6 additions and 4 deletions
|
|
@ -198,8 +198,7 @@ if [ -n "$HWCI_START_WESTON" ]; then
|
|||
export DISPLAY=:0
|
||||
mkdir -p /tmp/.X11-unix
|
||||
|
||||
env \
|
||||
weston -Bheadless-backend.so --use-gl -Swayland-0 --xwayland --idle-time=0 &
|
||||
env weston --config="/install/common/weston.ini" -Swayland-0 --use-gl &
|
||||
BACKGROUND_PIDS="$! $BACKGROUND_PIDS"
|
||||
|
||||
while [ ! -S "$WESTON_X11_SOCK" ]; do sleep 1; done
|
||||
|
|
|
|||
4
.gitlab-ci/common/weston.ini
Normal file
4
.gitlab-ci/common/weston.ini
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[core]
|
||||
backend=headless-backend.so
|
||||
xwayland=true
|
||||
idle-time=0
|
||||
|
|
@ -97,8 +97,7 @@ else
|
|||
export DISPLAY=:0
|
||||
mkdir -p /tmp/.X11-unix
|
||||
|
||||
env \
|
||||
weston -Bheadless-backend.so --use-gl -Swayland-0 --xwayland --idle-time=0 &
|
||||
env weston --config="/install/common/weston.ini" -Swayland-0 --use-gl &
|
||||
|
||||
while [ ! -S "$WESTON_X11_SOCK" ]; do sleep 1; done
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue