From af42b468fc624f48b9a8e5954b69115dc7f0733c Mon Sep 17 00:00:00 2001 From: Tsukasa Hiiragi Date: Fri, 4 Sep 2026 23:20:26 +0800 Subject: [PATCH] add ci --- .forgejo/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .forgejo/workflows/ci.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..29e9dac --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -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