From 8148c07f727300db161be75ecb3c3727ade3dc98 Mon Sep 17 00:00:00 2001 From: Specter Date: Sun, 28 Jun 2026 19:08:46 -0400 Subject: [PATCH] Update CI workflow for multi-branch support and tests ci cd --- .github/workflows/makefile.yml | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000..fd8640d --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,46 @@ +name: CI Build Test + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build-test: + runs-on: ubuntu-24.04 + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Install System Dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + build-essential \ + tcc \ + clang \ + pkg-config \ + wayland-protocols \ + libwayland-dev \ + libwlroots-dev \ + libxkbcommon-dev \ + libinput-dev \ + liblua5.4-dev \ + libxcb1-dev \ + libxcb-icccm4-dev + + - 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