|
47 | 47 | - uses: libsdl-org/setup-sdl@main |
48 | 48 | with: |
49 | 49 | install-linux-dependencies: true |
50 | | - version: 3-latest |
51 | | - version-sdl-image: 3-latest |
| 50 | + version: "3.2.14" |
52 | 51 | - uses: actions/checkout@v4 |
53 | 52 | with: |
54 | 53 | fetch-depth: ${{ env.git-depth }} |
@@ -123,7 +122,12 @@ jobs: |
123 | 122 | if: runner.os == 'Linux' |
124 | 123 | run: | |
125 | 124 | 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" |
127 | 131 | - name: Install Python dependencies |
128 | 132 | run: | |
129 | 133 | python -m pip install --upgrade pip |
@@ -161,10 +165,11 @@ jobs: |
161 | 165 | needs: [ruff, mypy] |
162 | 166 | runs-on: ubuntu-latest |
163 | 167 | 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" |
168 | 173 | - uses: actions/checkout@v4 |
169 | 174 | with: |
170 | 175 | fetch-depth: ${{ env.git-depth }} |
@@ -201,11 +206,11 @@ jobs: |
201 | 206 | - name: Install Python dependencies |
202 | 207 | run: | |
203 | 208 | python -m pip install --upgrade pip tox |
204 | | - - name: Install APT dependencies |
| 209 | + - uses: libsdl-org/setup-sdl@main |
205 | 210 | 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" |
209 | 214 | - name: Run tox |
210 | 215 | run: | |
211 | 216 | tox -vv |
|
0 commit comments