31 lines
787 B
YAML
31 lines
787 B
YAML
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 \
|
|
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
|