Skip to content

Commit 3c01e40

Browse files
committed
Fix SDL install in CI
1 parent 029ee45 commit 3c01e40

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,16 @@ jobs:
4545
sdist:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: libsdl-org/setup-sdl@6574e20ac65ce362cd12f9c26b3a5e4d3cd31dee
49-
with:
50-
install-linux-dependencies: true
51-
build-type: "Debug"
52-
version: ${{ env.sdl-version }}
48+
- run: |
49+
git clone https://github.com/libsdl-org/SDL@release-${{ env.sdl-version }}
50+
cmake -S SDL -B /tmp/SDL
51+
cmake --build /tmp/SDL
52+
cmake --install /tmp/SDL
53+
#- uses: libsdl-org/setup-sdl@6574e20ac65ce362cd12f9c26b3a5e4d3cd31dee
54+
# with:
55+
# install-linux-dependencies: true
56+
# build-type: "Debug"
57+
# version: ${{ env.sdl-version }}
5358
- uses: actions/checkout@v4
5459
with:
5560
fetch-depth: ${{ env.git-depth }}

0 commit comments

Comments
 (0)