@@ -3,7 +3,7 @@ name: Build
33on : [push]
44
55jobs :
6- build :
6+ arch :
77 runs-on : ubuntu-latest
88 container :
99 image : archlinux:latest
3434 run : |
3535 cd arch/
3636 chown -R builder:builder .
37- sudo -u builder makepkg -s --noconfirm
37+ sudo -u builder makepkg -si --noconfirm
38+
39+ alpine :
40+ runs-on : ubuntu-latest
41+ container :
42+ image : alpine:edge
43+ steps :
44+ - uses : actions/checkout@v4
45+ - name : Install build dependencies
46+ run : |
47+ apk add --no-cache git gcc musl-dev cairo-dev eudev-dev gdk-pixbuf-dev \
48+ libdisplay-info-dev libevdev-dev libinput-dev libseat-dev libxcb-dev \
49+ libxkbcommon-dev mesa-dev meson pango-dev pcre2-dev pixman-dev \
50+ wayland-dev wayland-protocols xcb-util-image-dev xcb-util-wm-dev \
51+ xwayland-dev hwdata-dev shaderc-dev vulkan-headers vulkan-loader-dev \
52+ xcb-util-cursor xcb-util-renderutil-dev glslang
53+
54+ - name : Build wlroots
55+ run : |
56+ git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git /tmp/wlroots
57+ meson setup /tmp/wlroots /tmp/wlroots/build -Dexamples=false -Dtests=false \
58+ -Dxwayland=enabled -Drenderers=gles2,vulkan -Dbackends=drm,libinput,x11
59+ ninja -C /tmp/wlroots/build
60+ meson install -C /tmp/wlroots/build
61+ rm -rf /tmp/wlroots
62+
63+ - name : Build
64+ run : |
65+ meson setup build
66+ ninja -C build
67+
68+ freebsd :
69+ runs-on : ubuntu-latest
70+ steps :
71+ - uses : actions/checkout@v4
72+ - name : Build on FreeBSD
73+ uses : vmactions/freebsd-vm@v1
74+ with :
75+ release : " 14.2"
76+ usesh : true
77+ prepare : |
78+ pkg install -y meson ninja pkgconf git wayland wayland-protocols \
79+ libxkbcommon pixman cairo libdrm libinput libevdev seatd \
80+ pango shaderc vulkan-headers xcb-util-wm xcb-util-errors \
81+ xcb-util-renderutil xcb-util-cursor json-c lcms2 evdev-proto \
82+ libepoll-shim libinotify egl-x11 egl-wayland
83+ run : |
84+ git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git /tmp/wlroots
85+ meson setup /tmp/wlroots /tmp/wlroots/build -Dexamples=false -Dtests=false
86+ ninja -C /tmp/wlroots/build
87+ meson install -C /tmp/wlroots/build
88+ rm -rf /tmp/wlroots
89+ meson setup build
90+ ninja -C build
0 commit comments