fix(ci): Cat-1 — add Raylib Linux deps (X11, OpenGL, Wayland, audio)
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user