From f14cc43bb2b16b03c69eed8b3ce8a460e48fb9ed Mon Sep 17 00:00:00 2001 From: Dynamitos Date: Wed, 10 Jun 2026 11:22:38 +0200 Subject: [PATCH] install renpy dependencies before renpy build --- .github/workflows/deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cd2663d..89fda52 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,11 +15,19 @@ jobs: env: RENPY_VERSION: "8.2.1" # Ensure this matches the version you built the game with run: | - # Download and extract to the system's temporary directory to keep the workspace clean wget https://www.renpy.org/dl/${RENPY_VERSION}/renpy-${RENPY_VERSION}-sdk.tar.bz2 tar -xjf renpy-${RENPY_VERSION}-sdk.tar.bz2 -C /tmp mv /tmp/renpy-${RENPY_VERSION}-sdk /tmp/renpy-sdk + - name: Install System Dependencies (OpenGL) + run: | + # Install OpenGL dependencies needed by the Ren'Py executable + if command -v sudo >/dev/null 2>&1; then + sudo apt-get update && sudo apt-get install -y libgl1 + else + apt-get update && apt-get install -y libgl1 + fi + - name: Build Web Distribution run: | # Execute the build from the /tmp directory, targeting your workspace root