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