49 lines
955 B
YAML
49 lines
955 B
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
|
|
|
|
- name: Test 'make debug' (Clang + Sanitizers)
|
|
run: |
|
|
make debug
|
|
make clean
|
|
|
|
- name: Test Default 'make' (Auto-detecting TCC)
|
|
run: |
|
|
make
|
|
make clean
|
|
|
|
- name: Test 'make release' (Clang + Strict Warnings)
|
|
run: |
|
|
make release
|