50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
name: CI Build Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master ]
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: ubuntu-24.04
|
|
container: archlinux:latest
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install System Dependencies
|
|
run: |
|
|
pacman -Syu --noconfirm
|
|
pacman -S --noconfirm --needed \
|
|
base-devel \
|
|
git \
|
|
tcc \
|
|
clang \
|
|
pkg-config \
|
|
wayland \
|
|
wayland-protocols \
|
|
wlroots0.20 \
|
|
libxkbcommon \
|
|
libinput \
|
|
lua \
|
|
libxcb \
|
|
xcb-util-wm \
|
|
meson \
|
|
ninja \
|
|
libglvnd \
|
|
glslang
|
|
|
|
- name: Build and install scenefx
|
|
run: |
|
|
git clone https://github.com/wlrfx/scenefx.git /tmp/scenefx
|
|
cd /tmp/scenefx
|
|
meson setup build/
|
|
ninja -C build/
|
|
ninja -C build/ install
|
|
|
|
- name: Test all targets and packaging modes
|
|
run: make test
|