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 libliftoff \
18+ lcms2 xcb-util-errors xcb-util-renderutil seatd vulkan-icd-loader \
19+ libdisplay-info
20+
21+ - name : Create build user
22+ run : |
23+ useradd -m builder
24+ echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
25+
26+ - name : Install wlroots
27+ run : |
28+ git clone --depth 1 https://aur.archlinux.org/wlroots-git.git
29+ cd wlroots-git
30+ chown -R builder:builder .
31+ sudo -u builder makepkg -si --noconfirm
32+
33+ - name : Build
34+ run : |
35+ cd arch/
36+ chown -R builder:builder .
37+ sudo -u builder makepkg -s --noconfirm
You can’t perform that action at this time.
0 commit comments