Skip to content

Commit d29b824

Browse files
committed
fixup! fixup! fixup! Upgrade to use SDL3 version of libtcod
1 parent 3eeea78 commit d29b824

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ jobs:
4747
- uses: libsdl-org/setup-sdl@main
4848
with:
4949
install-linux-dependencies: true
50-
version: 3-latest
51-
version-sdl-image: 3-latest
50+
version: "3.2.14"
5251
- uses: actions/checkout@v4
5352
with:
5453
fetch-depth: ${{ env.git-depth }}
@@ -123,7 +122,12 @@ jobs:
123122
if: runner.os == 'Linux'
124123
run: |
125124
sudo apt-get update
126-
sudo apt-get install libsdl3-dev xvfb
125+
sudo apt-get install xvfb
126+
- uses: libsdl-org/setup-sdl@main
127+
if: runner.os == 'Linux'
128+
with:
129+
install-linux-dependencies: true
130+
version: "3.2.14"
127131
- name: Install Python dependencies
128132
run: |
129133
python -m pip install --upgrade pip
@@ -161,10 +165,11 @@ jobs:
161165
needs: [ruff, mypy]
162166
runs-on: ubuntu-latest
163167
steps:
164-
- name: Install APT dependencies
165-
run: |
166-
sudo apt-get update
167-
sudo apt-get install libsdl3-dev
168+
- uses: libsdl-org/setup-sdl@main
169+
if: runner.os == 'Linux'
170+
with:
171+
install-linux-dependencies: true
172+
version: "3.2.14"
168173
- uses: actions/checkout@v4
169174
with:
170175
fetch-depth: ${{ env.git-depth }}
@@ -201,11 +206,11 @@ jobs:
201206
- name: Install Python dependencies
202207
run: |
203208
python -m pip install --upgrade pip tox
204-
- name: Install APT dependencies
209+
- uses: libsdl-org/setup-sdl@main
205210
if: runner.os == 'Linux'
206-
run: |
207-
sudo apt-get update
208-
sudo apt-get install libsdl3-dev
211+
with:
212+
install-linux-dependencies: true
213+
version: "3.2.14"
209214
- name: Run tox
210215
run: |
211216
tox -vv

0 commit comments

Comments
 (0)