Skip to content

Commit 171d416

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix SDL install in CI
1 parent 99f49cd commit 171d416

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,11 @@ jobs:
4545
sdist:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- run: sudo apt-get update
49-
- run: sudo apt-get install build-essential git make
50-
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev
51-
libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev
52-
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev
53-
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev
54-
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev
55-
- run: git clone https://github.com/libsdl-org/SDL -b "release-${{ env.sdl-version }}" --depth 1
56-
- run: cmake -S SDL -B /tmp/SDL -D CMAKE_INSTALL_PREFIX=/usr
57-
- run: cmake --build /tmp/SDL --config Debug
58-
- run: sudo cmake --install /tmp/SDL --config Debug
59-
- run: pkg-config --modversion sdl3
48+
- uses: HexDecimal/my-setup-sdl-action@main
49+
with:
50+
install-linux-dependencies: true
51+
build-type: "Debug"
52+
version: ${{ env.sdl-version }}
6053
#- uses: libsdl-org/setup-sdl@6574e20ac65ce362cd12f9c26b3a5e4d3cd31dee
6154
# with:
6255
# install-linux-dependencies: true

0 commit comments

Comments
 (0)