Files

46 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 \
clang \
lld \
pkg-config \
wayland \
wayland-protocols \
wlroots0.20 \
libxkbcommon \
libinput \
lua \
libxcb \
xcb-util-wm
- name: Install scenefx-wlroots20-git from CachyOS
run: |
echo '[cachyos]' >> /etc/pacman.conf
echo 'SigLevel = Never' >> /etc/pacman.conf
echo 'Server = https://us.cachyos.org/repo/$arch/$repo' >> /etc/pacman.conf
pacman -Sy --noconfirm
pacman -S --noconfirm scenefx-wlroots20-git
- name: Test all targets and packaging modes
run: make test