Skip to content

Commit 2b88d66

Browse files
committed
feat: add alpine and freebsd CI
1 parent 1893218 commit 2b88d66

1 file changed

Lines changed: 53 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build
33
on: [push]
44

55
jobs:
6-
build:
6+
arch:
77
runs-on: ubuntu-latest
88
container:
99
image: archlinux:latest
@@ -34,4 +34,55 @@ jobs:
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 \
49+
libxcb-dev libxkbcommon-dev mesa-dev meson pango-dev pcre2-dev \
50+
pixman-dev scdoc wayland-dev wayland-protocols xcb-util-image-dev \
51+
xcb-util-wm-dev xwayland-dev hwdata-dev shaderc-dev vulkan-headers
52+
53+
- name: Build wlroots
54+
run: |
55+
git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git /tmp/wlroots
56+
meson setup /tmp/wlroots /tmp/wlroots/build -Dexamples=false -Dtests=false
57+
ninja -C /tmp/wlroots/build
58+
meson install -C /tmp/wlroots/build
59+
rm -rf /tmp/wlroots
60+
61+
- name: Build
62+
run: |
63+
meson setup build
64+
ninja -C build
65+
66+
freebsd:
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v4
70+
- name: Build on FreeBSD
71+
uses: vmactions/freebsd-vm@v1
72+
with:
73+
release: "14.2"
74+
usesh: true
75+
prepare: |
76+
pkg install -y meson ninja pkgconf git wayland wayland-protocols \
77+
libxkbcommon pixman cairo libdrm libinput libevdev seatd \
78+
pango shaderc vulkan-headers xcb-util-wm xcb-util-errors \
79+
xcb-util-renderutil json-c lcms2 libepoll-shim libinotify \
80+
mesa-libs
81+
run: |
82+
git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git /tmp/wlroots
83+
meson setup /tmp/wlroots /tmp/wlroots/build -Dexamples=false -Dtests=false
84+
ninja -C /tmp/wlroots/build
85+
meson install -C /tmp/wlroots/build
86+
rm -rf /tmp/wlroots
87+
meson setup build
88+
ninja -C build

0 commit comments

Comments
 (0)