From 93ae351959bee3b091392a56582ac87c3c9b6a7a Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 14 Mar 2026 14:46:23 +0000 Subject: [PATCH] Add Gitea Actions CI workflow for pull request builds --- .gitea/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..db71751 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ubuntu:24.04 + steps: + - name: Install build dependencies + run: | + apt-get update + apt-get install -y --no-install-recommends \ + build-essential \ + libsdl2-dev \ + libsdl2-image-dev \ + libsdl2-mixer-dev \ + pkg-config + + - name: Checkout + uses: actions/checkout@v4 + + - name: Build (native Linux) + run: make