From 826108373c76f3f08476d7bfcddb21ef269e804c Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Tue, 5 Jan 2021 21:15:27 -0500 Subject: [PATCH] ci: build tinywl --- .builds/alpine.yml | 4 ++++ .builds/archlinux.yml | 5 +++- .builds/freebsd.yml | 55 +++++++++++++++++++++++-------------------- 3 files changed, 38 insertions(+), 26 deletions(-) diff --git a/.builds/alpine.yml b/.builds/alpine.yml index 7360e5627..8584d6a66 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -21,7 +21,11 @@ tasks: - build: | cd wlroots ninja -C build + sudo ninja -C build install - build-features-disabled: | cd wlroots meson build --reconfigure -Dauto_features=disabled ninja -C build + - tinywl: | + cd wlroots/tinywl + make diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index 9cf2f84fc..ab0e48177 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -18,11 +18,14 @@ sources: tasks: - setup: | cd wlroots - CC=gcc meson build-gcc -Dauto_features=enabled -Dlogind-provider=systemd + CC=gcc meson build-gcc -Dauto_features=enabled -Dlogind-provider=systemd --prefix /usr CC=clang meson build-clang -Dauto_features=enabled -Dlogind-provider=systemd - gcc: | cd wlroots/build-gcc ninja + sudo ninja install + cd ../tinywl + make - clang: | cd wlroots/build-clang ninja diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 3ebb2a460..7789a0a79 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,29 +1,34 @@ image: freebsd/latest packages: -- devel/evdev-proto -- devel/libepoll-shim -- devel/libudev-devd -- devel/meson # implies ninja -- devel/pkgconf -- graphics/libdrm -- graphics/mesa-libs -- graphics/png -- graphics/wayland -- graphics/wayland-protocols -- misc/e2fsprogs-libuuid -- multimedia/ffmpeg -- x11/libX11 -- x11/libinput -- x11/libxcb -- x11/libxkbcommon -- x11/pixman -- x11/xcb-util-errors -- x11/xcb-util-wm -- sysutils/seatd + - devel/evdev-proto + - devel/libepoll-shim + - devel/libudev-devd + - devel/meson # implies ninja + - devel/pkgconf + - graphics/libdrm + - graphics/mesa-libs + - graphics/png + - graphics/wayland + - graphics/wayland-protocols + - misc/e2fsprogs-libuuid + - multimedia/ffmpeg + - x11/libX11 + - x11/libinput + - x11/libxcb + - x11/libxkbcommon + - x11/pixman + - x11/xcb-util-errors + - x11/xcb-util-wm + - sysutils/seatd + - gmake sources: -- https://github.com/swaywm/wlroots + - https://github.com/swaywm/wlroots tasks: -- wlroots: | - cd wlroots - meson build -Dauto_features=enabled -Dlogind=disabled - ninja -C build + - wlroots: | + cd wlroots + meson build -Dauto_features=enabled -Dlogind=disabled + ninja -C build + sudo ninja -C build install + - tinywl: | + cd wlroots/tinywl + gmake