Skip to content

chore: add ci

chore: add ci #13

Workflow file for this run

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: Install wlroots
run: |
git clone --depth 1 https://gitlab.freedesktop.org/wlroots/wlroots.git
cd wlroots
meson setup build --prefix=/usr -Dexamples=false
ninja -C build install
- name: Build
run: |
cd arch/
# makepkg requires non-root user
useradd builder
chown -R builder:builder .
sudo -u builder makepkg -s --noconfirm