From 3675f0722a78d9b4152cfa3f89c50b0be5ef48f2 Mon Sep 17 00:00:00 2001 From: jack Date: Mon, 13 Jul 2026 12:33:51 -0700 Subject: [PATCH] ci: add Gitea Actions preflight workflow --- .gitea/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..6830f8e --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,35 @@ +name: CI + +on: + push: + branches: ["**"] + pull_request: + +env: + QT_QPA_PLATFORM: offscreen + +jobs: + preflight: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Qt runtime libs + run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libfontconfig1 libdbus-1-3 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + python-version: "3.11" + + - name: Install dependencies + run: uv sync + + - name: Lint + run: make lint + + - name: Typecheck + run: make typecheck + + - name: Test + run: make test