2017-08-04 20:51:44 +00:00
|
|
|
image: archlinux
|
|
|
|
packages:
|
2018-05-28 07:39:38 +00:00
|
|
|
- clang
|
|
|
|
- ffmpeg
|
|
|
|
- libinput
|
|
|
|
- libxkbcommon
|
|
|
|
- mesa
|
2017-08-08 22:02:32 +00:00
|
|
|
- meson
|
2018-05-28 07:39:38 +00:00
|
|
|
- pixman
|
2017-08-04 20:51:44 +00:00
|
|
|
- wayland
|
|
|
|
- wayland-protocols
|
2019-04-29 16:10:09 +00:00
|
|
|
- xcb-util-errors
|
2017-11-01 23:19:51 +00:00
|
|
|
- xcb-util-image
|
2021-01-21 01:06:28 +00:00
|
|
|
- xcb-util-renderutil
|
2019-04-29 16:10:09 +00:00
|
|
|
- xcb-util-wm
|
2021-02-04 16:31:12 +00:00
|
|
|
- xorg-xwayland
|
2020-07-25 19:53:06 +00:00
|
|
|
- seatd
|
2021-02-21 17:30:12 +00:00
|
|
|
- vulkan-icd-loader
|
|
|
|
- vulkan-headers
|
|
|
|
- glslang
|
2017-08-04 20:51:44 +00:00
|
|
|
sources:
|
2021-11-01 16:28:16 +00:00
|
|
|
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
2017-08-04 20:51:44 +00:00
|
|
|
tasks:
|
|
|
|
- setup: |
|
2018-11-25 19:09:02 +00:00
|
|
|
cd wlroots
|
2021-11-19 15:52:57 +00:00
|
|
|
CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
|
2021-06-25 13:29:27 +00:00
|
|
|
CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled
|
2017-08-04 20:51:44 +00:00
|
|
|
- gcc: |
|
|
|
|
cd wlroots/build-gcc
|
2017-08-08 22:02:32 +00:00
|
|
|
ninja
|
2021-01-06 02:15:27 +00:00
|
|
|
sudo ninja install
|
|
|
|
cd ../tinywl
|
2021-11-19 15:52:57 +00:00
|
|
|
CFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" make
|
2017-08-04 20:51:44 +00:00
|
|
|
- clang: |
|
|
|
|
cd wlroots/build-clang
|
2018-11-25 19:09:02 +00:00
|
|
|
ninja
|
2021-08-05 16:54:37 +00:00
|
|
|
- smoke-test: |
|
|
|
|
cd wlroots/tinywl
|
|
|
|
sudo modprobe vkms
|
2021-09-13 09:39:51 +00:00
|
|
|
udevadm settle
|
2021-08-05 16:54:37 +00:00
|
|
|
export WLR_BACKENDS=drm
|
|
|
|
export WLR_RENDERER=pixman
|
|
|
|
export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card
|
|
|
|
sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card
|
2021-09-13 09:39:51 +00:00
|
|
|
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]
|