File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ container :
9+ image : archlinux:latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Install dependencies
13+ run : |
14+ pacman -Syu --noconfirm
15+ pacman -S --noconfirm base-devel git perl meson ninja wayland-protocols \
16+ cairo libevdev libinput pixman libxcb libxkbcommon linux-api-headers \
17+ pango shaderc vulkan-headers xcb-util-wm xorg-xwayland
18+
19+ - name : Create build user
20+ run : |
21+ useradd -m builder
22+ echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
23+
24+ - name : Install wlroots
25+ run : |
26+ git clone --depth 1 https://aur.archlinux.org/wlroots-git.git
27+ cd wlroots-git
28+ chown -R builder:builder .
29+ sudo -u builder makepkg -si
30+
31+ - name : Build
32+ run : |
33+ cd arch/
34+ chown -R builder:builder .
35+ sudo -u builder makepkg -s --noconfirm
You can’t perform that action at this time.
0 commit comments