wlroots/.builds/archlinux.yml

50 lines
1.2 KiB
YAML
Raw Normal View History

2017-08-04 20:51:44 +00:00
image: archlinux
packages:
- clang
- lcms2
- libinput
- libdisplay-info
2022-08-18 17:17:33 +00:00
- libliftoff
- libxkbcommon
- mesa
2017-08-08 22:02:32 +00:00
- meson
- pixman
2017-08-04 20:51:44 +00:00
- wayland
- wayland-protocols
- xcb-util-errors
2017-11-01 23:19:51 +00:00
- xcb-util-image
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland
2020-07-25 19:53:06 +00:00
- seatd
- vulkan-icd-loader
- vulkan-headers
- glslang
- hwdata
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
CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
CC=clang meson setup build-clang --fatal-meson-warnings -Dauto_features=enabled -Dc_std=c11
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
make
2017-08-04 20:51:44 +00:00
- clang: |
cd wlroots/build-clang
2018-11-25 19:09:02 +00:00
ninja
- smoke-test: |
cd wlroots/build-gcc/tinywl
sudo modprobe vkms
udevadm settle
export WLR_BACKENDS=drm
export WLR_RENDERER=pixman
export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card
export UBSAN_OPTIONS=halt_on_error=1
sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]