From 957584a9d4a2770596de2c40372ed4c608135065 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 24 Sep 2024 23:56:31 +0100 Subject: [PATCH] install alsa etc before building sdl --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19f60d6..f86b72e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -232,8 +232,12 @@ jobs: # The target architecture (x86, x64) of the Python interpreter. architecture: x64 - - name: Build SDL + - name: install prereqs run: | + sudo apt update + sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev + - name: Build SDL + run: | wget https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.30.7.tar.gz tar xvfz release-2.30.7.tar.gz mkdir build @@ -245,8 +249,6 @@ jobs: # Runs a set of commands using the runners shell - name: Build raylib run: | - sudo apt update - sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev cd raylib-c mkdir build cd build