From f3a394de21816fa80d00edb1695f5d50754deca9 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Fri, 26 Jun 2026 10:41:38 -0500 Subject: [PATCH] Update CI to build tests and Linux directly on runner Replaces Docker-based builds for run-tests and build-linux jobs with direct apt-get dependency installation and inner build scripts. Also triggers on pushes to gitea-actions branch. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 58 ++++++++++++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7009a25b..9bd7cb87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,26 +3,70 @@ on: push: tags: - '*' + branches: + - gitea-actions jobs: run-tests: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 - - name: Set up Docker - uses: docker/setup-docker-action@v5 - - name: Run tests in Docker - run: ./scripts/test-linux-docker.sh + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + build-essential \ + cmake \ + python3 \ + python3-pip \ + python3-polib \ + python3-pil \ + libsdl2-dev \ + libgl1-mesa-dev \ + libzip-dev \ + python3-dotenv \ + python3-pyqt5 \ + python3-opengl \ + xz-utils \ + liblzma-dev \ + libbz2-dev \ + zlib1g-dev \ + libbz2-dev \ + git \ + libssl-dev + - name: Run tests + run: ./scripts/test-linux.sh build-linux: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 - - name: Set up Docker - uses: docker/setup-docker-action@v5 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + build-essential \ + cmake \ + python3 \ + python3-pip \ + python3-polib \ + python3-pil \ + libsdl2-dev \ + libgl1-mesa-dev \ + libzip-dev \ + python3-dotenv \ + python3-pyqt5 \ + python3-opengl \ + xz-utils \ + liblzma-dev \ + libbz2-dev \ + zlib1g-dev \ + libbz2-dev \ + git \ + libssl-dev - name: Build Linux - run: ./scripts/build-linux-docker.sh + run: ./scripts/build-linux.sh - name: Upload Linux binary uses: actions/upload-artifact@v6 with: