install alsa etc before building sdl

This commit is contained in:
Richard Smith 2024-09-24 23:56:31 +01:00
parent 8db9563c53
commit 957584a9d4

View file

@ -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