File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ defaults:
1414
1515env :
1616 git-depth : 0 # Depth to search for tags.
17+ sdl-version : " 3.2.16" # SDL version to bundle
1718
1819jobs :
1920 ruff :
7273 strategy :
7374 matrix :
7475 os : ["windows-latest", "macos-latest"]
75- sdl-version : ["3.2.10 "]
76+ sdl-version : ["3.2.16 "]
7677 fail-fast : true
7778 steps :
7879 - uses : actions/checkout@v4
@@ -265,7 +266,7 @@ jobs:
265266 systemd-devel mesa-libGL-devel libxkbcommon-devel mesa-libGLES-devel \
266267 mesa-libEGL-devel vulkan-devel wayland-devel wayland-protocols-devel \
267268 libdrm-devel mesa-libgbm-devel libusb-devel
268- git clone --depth 1 --branch release-3.2.10 https://github.com/libsdl-org/SDL.git sdl_repo &&
269+ git clone --depth 1 --branch release-${{env.sdl-version}} https://github.com/libsdl-org/SDL.git sdl_repo &&
269270 cmake -S sdl_repo -B sdl_build &&
270271 cmake --build sdl_build --config Release &&
271272 cmake --install sdl_build --config Release --prefix /usr/local &&
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
88
99### Changed
1010
11- - Switched to SDL3.
11+ - Updated libtcod to 2.1.1
12+ - Updated SDL to 3.2.16
1213 This will cause several breaking changes such as the names of keyboard constants and other SDL enums.
1314- ` tcod.sdl.video.Window.grab ` has been split into ` .mouse_grab ` and ` .keyboard_grab ` attributes.
1415- ` tcod.event.KeySym ` single letter symbols are now all uppercase.
Original file line number Diff line number Diff line change 3333# Reject versions of SDL older than this, update the requirements in the readme if you change this.
3434SDL_MIN_VERSION = (3 , 2 , 0 )
3535# The SDL version to parse and export symbols from.
36- SDL_PARSE_VERSION = os .environ .get ("SDL_VERSION" , "3.2.10 " )
36+ SDL_PARSE_VERSION = os .environ .get ("SDL_VERSION" , "3.2.16 " )
3737# The SDL version to include in binary distributions.
38- SDL_BUNDLE_VERSION = os .environ .get ("SDL_VERSION" , "3.2.10 " )
38+ SDL_BUNDLE_VERSION = os .environ .get ("SDL_VERSION" , "3.2.16 " )
3939
4040
4141# Used to remove excessive newlines in debug outputs.
You can’t perform that action at this time.
0 commit comments