From 63671c7cea3b247143103a5c8b4c8f4553700ae3 Mon Sep 17 00:00:00 2001 From: Axel Meyer Date: Wed, 29 Apr 2026 23:47:02 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20Cat-1=20=E2=80=94=20add=20Raylib=20L?= =?UTF-8?q?inux=20deps=20(X11,=20OpenGL,=20Wayland,=20audio)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Iterative fix: cmake configure failed with "RandR headers not found" because Raylib's GLFW backend requires X11 + GL development packages. Added standard Raylib Linux deps per their wiki: - libasound2-dev (audio) - libx11-dev libxrandr-dev libxi-dev libxcursor-dev libxinerama-dev - libxkbcommon-dev libwayland-dev - libgl1-mesa-dev libglu1-mesa-dev Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/reusable-engine-launcher.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/reusable-engine-launcher.yml b/.gitea/workflows/reusable-engine-launcher.yml index 42d571d..a06d507 100644 --- a/.gitea/workflows/reusable-engine-launcher.yml +++ b/.gitea/workflows/reusable-engine-launcher.yml @@ -27,11 +27,19 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install build tools (Linux) + - name: Install build tools + Raylib deps (Linux) if: runner.os == 'Linux' run: | apt-get update -qq + # Build essentials apt-get install -y cmake build-essential ninja-build zip unzip git curl + # Raylib Linux dependencies (X11, OpenGL, Wayland, audio) + # See https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux + apt-get install -y \ + libasound2-dev \ + libx11-dev libxrandr-dev libxi-dev libxcursor-dev libxinerama-dev \ + libxkbcommon-dev libwayland-dev \ + libgl1-mesa-dev libglu1-mesa-dev - name: Configure CMake run: cmake -B build -DCMAKE_BUILD_TYPE=${{ inputs.build_type }}