ci: install cmake + ninja-build (act-runner image is slim)
Some checks failed
CI / Quality (push) Waiting to run
Release / Linux AppImage (push) Failing after 4m12s

GitHub-hosted ubuntu-latest preinstalls cmake and ninja. Gitea's
act-runner uses a minimal Ubuntu image (catthehacker/ubuntu:act-*)
which doesn't, so the build step fails with "cmake: command not
found" (exit 127).

apt-get update was already run by install-qt-action's deps step
earlier in the job, so the lists are populated — just install.

Same step added to ci.yml and release.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-03 10:14:04 +02:00
parent 6c1a3364c4
commit fca2378d63
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ jobs:
with: with:
python-version: '3.12' python-version: '3.12'
- name: Install build tools (cmake, ninja)
run: sudo apt-get install -y cmake ninja-build
- name: Setup Qt 6 - name: Setup Qt 6
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
with: with:

View File

@@ -33,6 +33,9 @@ jobs:
with: with:
python-version: '3.12' python-version: '3.12'
- name: Install build tools (cmake, ninja)
run: sudo apt-get install -y cmake ninja-build
- name: Setup Qt 6 - name: Setup Qt 6
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
with: with: