From 44d64262e20e98afcdcbf46cd03c3fd964f3f3b1 Mon Sep 17 00:00:00 2001 From: pc-heini Date: Mon, 15 Jun 2026 10:11:14 +0200 Subject: [PATCH] CI: install cmake/python3 for O3DE's get_python.sh get_python.sh runs on the host shell and shells out to cmake to fetch the engine's Python runtime, but the bare ubuntu container had neither cmake nor python3. Add them (and tar) to the dependency install. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/build-flatpak.yml | 6 ++++-- README.md | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-flatpak.yml b/.gitea/workflows/build-flatpak.yml index f581a53c4..6c27d379e 100644 --- a/.gitea/workflows/build-flatpak.yml +++ b/.gitea/workflows/build-flatpak.yml @@ -26,9 +26,11 @@ jobs: - name: Install build dependencies run: | apt-get update + # cmake + python3: O3DE's get_python.sh (run on the host, not in the + # sandbox) uses cmake to fetch its Python runtime. DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - ca-certificates curl git jq xz-utils zstd binutils \ - flatpak + ca-certificates curl git jq xz-utils zstd binutils tar \ + flatpak cmake python3 # Done as a plain git clone instead of actions/checkout@v4: the bare # ubuntu image has no Node.js, so JavaScript actions fail with exit 127. diff --git a/README.md b/README.md index 321aff64f..4aa75d254 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,8 @@ the upstream version has no matching `vX.Y.Z` tag yet, so reruns are cheap no-op ## Building locally ```sh -sudo apt install flatpak # or your distro's equivalent +# flatpak + cmake (cmake is used by O3DE's get_python.sh) + curl +sudo apt install flatpak cmake # or your distro's equivalent ./scripts/build.sh ```