From 826e1d72f59372c2f15ce4b3b2333bc30b4be417 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 9 Feb 2024 02:27:58 +0000 Subject: [PATCH] ci: build on OpenBSD Building on OpenBSD fails currently. (cherry picked from commit 709f0168d96fa42e40261c65b345c5fa14418300) Signed-off-by: Yuxuan Shui --- .builds/openbsd.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .builds/openbsd.yml diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml new file mode 100644 index 00000000..d73c5769 --- /dev/null +++ b/.builds/openbsd.yml @@ -0,0 +1,23 @@ +image: openbsd/latest +packages: + - libev + - xcb + - meson + - pkgconf + - cmake + - uthash + - libconfig + - dbus + - pcre2 +sources: + - https://github.com/yshui/picom +tasks: + - setup: | + cd picom + CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" meson -Dunittest=true build + - build: | + cd picom + ninja -C build + - unittest: | + cd picom + ninja -C build test