-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 976 Bytes
/
Copy pathci.yml
File metadata and controls
35 lines (30 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm base-devel git perl meson ninja wayland-protocols \
cairo libevdev libinput pixman libxcb libxkbcommon linux-api-headers \
pango shaderc vulkan-headers xcb-util-wm xorg-xwayland
- name: Create build user
run: |
useradd -m builder
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
- name: Install wlroots
run: |
git clone --depth 1 https://aur.archlinux.org/wlroots-git.git
cd wlroots-git
chown -R builder:builder .
sudo -u builder makepkg -si
- name: Build
run: |
cd arch/
chown -R builder:builder .
sudo -u builder makepkg -s --noconfirm