This commit is contained in:
Tsukasa Hiiragi 2026-09-04 23:20:26 +08:00
parent daecb4dd5f
commit af42b468fc

32
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,32 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: docker
container:
image: archlinux:latest
steps:
- name: Install build dependencies
run: |
pacman -Syu --noconfirm \
base-devel \
git \
meson \
ninja \
pkgconf \
wayland \
wayland-protocols \
wayland-scanner \
wlroots0.20 \
libxkbcommon \
libinput \
lua \
xcb-util-wm
- name: Checkout
run: |
git clone --depth 1 --branch "${GITHUB_REF_NAME}" \
"https://scm.hgdump.net/${GITHUB_REPOSITORY}.git" .
- name: Configure
run: meson setup build -Dxwayland=true
- name: Compile
run: meson compile -C build