CI: add sway compositor to CI tests, to prepare for better Wayland testing

closes: #17162

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Foxe Chen
2025-04-21 11:20:44 +02:00
committed by Christian Brabandt
parent 92f68e26ec
commit 16341e7090
3 changed files with 14 additions and 0 deletions

7
ci/setup-sway.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
# Using a systemd user service doesn't work because it seems like github actions
# doesn't support user sessions? Just run sway in the background and disown it.
WLR_BACKENDS=headless sway &
disown