diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml new file mode 100644 index 0000000..b270c40 --- /dev/null +++ b/.builds/archlinux.yml @@ -0,0 +1,30 @@ +image: archlinux +packages: + - clang + - meson + - libinput + - libxkbcommon + - wayland + - wayland-protocols + - xorg-server-xwayland +sources: + - https://github.com/swaywm/wlroots + - https://github.com/Hjdskes/cage +tasks: + # Install wlroots, which is required by Cage. Note that we compile a tagged + # version, instead of master, to avoid any breaking changes in wlroots. + - wlroots: | + cd wlroots + # This corresponds to the tag of 0.5.0 + git checkout c9137cba691b57c3eaf3ff94f9bf8e623f66ccc5 + meson --prefix=/usr build -Drootston=false -Dexamples=false + ninja -C build + sudo ninja -C build install + - build: | + cd cage + meson build -Dxwayland=true + ninja -C build + - scan-build: | + cd cage + CC=clang meson build -Dxwayland=true + CC=clang ninja -C build scan-build diff --git a/README.md b/README.md index fec260c..0b15dcd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Cage: a Wayland kiosk +# Cage: a Wayland kiosk [![builds.sr.ht status](https://builds.sr.ht/~hjdskes.svg)](https://builds.sr.ht/~hjdskes?) This is Cage, a Wayland kiosk. A kiosk runs a single, maximized application.