add ci
This commit is contained in:
parent
daecb4dd5f
commit
af42b468fc
1 changed files with 32 additions and 0 deletions
32
.forgejo/workflows/ci.yml
Normal file
32
.forgejo/workflows/ci.yml
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue