@@ -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-icccm
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+ ninja -C /tmp/wlroots/build
59+ meson install -C /tmp/wlroots/build
60+ rm -rf /tmp/wlroots
61+
62+ - name : Build
63+ run : |
64+ meson setup build
65+ ninja -C build
66+
67+ freebsd :
68+ runs-on : ubuntu-latest
69+ steps :
70+ - uses : actions/checkout@v4
71+ - name : Build on FreeBSD
72+ uses : vmactions/freebsd-vm@v1
73+ with :
74+ release : " 14.2"
75+ usesh : true
76+ prepare : |
77+ pkg install -y meson ninja pkgconf git wayland wayland-protocols \
78+ libxkbcommon pixman cairo libdrm libinput libevdev seatd \
79+ pango shaderc vulkan-headers xcb-util-wm xcb-util-errors \
80+ xcb-util-renderutil json-c lcms2 libepoll-shim libinotify \
81+ mesa-libs
82+ run : |
83+ git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git /tmp/wlroots
84+ meson setup /tmp/wlroots /tmp/wlroots/build -Dexamples=false -Dtests=false
85+ ninja -C /tmp/wlroots/build
86+ meson install -C /tmp/wlroots/build
87+ rm -rf /tmp/wlroots
88+ meson setup build
89+ ninja -C build
0 commit comments