Skip to content

Commit 1b6b10a

Browse files
committed
fixup! fixup! fixup! Fix SDL install in CI
1 parent aee9f89 commit 1b6b10a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ jobs:
4545
sdist:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- run: apt-get install build-essential git make \
48+
- run: sudo apt-get install build-essential git make \
4949
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
5050
libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev \
5151
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
5252
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
5353
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev
5454
- run: |
55-
git clone https://github.com/libsdl-org/SDL -b "release-${{ env.sdl-version }}"
55+
git clone https://github.com/libsdl-org/SDL -b "release-${{ env.sdl-version }}" --depth 1
5656
cmake -S SDL -B /tmp/SDL
5757
cmake --build /tmp/SDL --config Debug
5858
cmake --install /tmp/SDL --prefix /usr

0 commit comments

Comments
 (0)