-
-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3201 from pygame-community/ankith26-fix-ci
Fix latest SDL3 and MSYS2 fails
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,14 +54,24 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install deps (linux) | ||
- name: Install pygame deps (linux) | ||
if: matrix.os == 'ubuntu-24.04' | ||
run: sudo apt-get install libfreetype6-dev libportmidi-dev python3-dev | ||
|
||
- name: Install deps (mac) | ||
- name: Install pygame deps (mac) | ||
if: matrix.os == 'macos-14' | ||
run: brew install freetype portmidi | ||
|
||
# taken from dependencies of the 'libsdl2-dev' package | ||
- name: Install SDL deps (linux) | ||
if: matrix.os == 'ubuntu-24.04' | ||
run: > | ||
sudo apt-get install libasound2-dev libdbus-1-dev libdecor-0-dev libdrm-dev | ||
libegl-dev libgbm-dev libgl-dev libgles-dev libibus-1.0-dev libpulse-dev | ||
libsamplerate0-dev libsndio-dev libudev-dev libwayland-dev libx11-dev | ||
libxcursor-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev | ||
libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev | ||
# taken from https://wiki.libsdl.org/SDL3/Installation | ||
- name: Install SDL3 | ||
if: matrix.os != 'windows-latest' | ||
|
@@ -74,7 +84,7 @@ jobs: | |
cmake --build . --config Release --parallel | ||
sudo cmake --install . --config Release | ||
- name: Make sdist and install it | ||
- name: Build with SDL3 | ||
run: > | ||
python3 -m pip install . -v -Csetup-args=-Dsdl_api=3 | ||
-Csetup-args=-Dimage=disabled | ||
|