File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ jobs:
195195 runs-on : ${{ matrix.os }}
196196 strategy :
197197 matrix :
198- os : ["ubuntu-latest", "windows-latest"]
198+ os : ["ubuntu-latest"] # "windows-latest" disabled due to free-threaded build issues
199199 steps :
200200 - uses : actions/checkout@v4
201201 with :
@@ -265,9 +265,9 @@ jobs:
265265 systemd-devel mesa-libGL-devel libxkbcommon-devel mesa-libGLES-devel \
266266 mesa-libEGL-devel vulkan-devel wayland-devel wayland-protocols-devel \
267267 libdrm-devel mesa-libgbm-devel libusb-devel
268- git clone https://github.com/libsdl-org/SDL.git sdl_repo
269- cmake -S sdl_repo -B sdl_build
270- cmake --build sdl_build --config Release
268+ git clone https://github.com/libsdl-org/SDL.git sdl_repo &&
269+ cmake -S sdl_repo -B sdl_build &&
270+ cmake --build sdl_build --config Release &&
271271 cmake --install sdl_build --config Release
272272 CIBW_BEFORE_TEST : pip install numpy
273273 CIBW_TEST_COMMAND : python -c "import tcod.context"
Original file line number Diff line number Diff line change @@ -214,9 +214,7 @@ def walk_sources(directory: str) -> Iterator[str]:
214214try :
215215 ffi .cdef (sdl_cdef )
216216except Exception as exc :
217- if sys .version_info >= (3 , 11 ):
218- exc .add_note (f"Processed cdef is as follows:\n { sdl_cdef } " )
219- raise
217+ raise RuntimeError (f"Processed cdef is as follows:\n { sdl_cdef } " ) from exc # noqa: EM102, TRY003
220218for include in includes :
221219 try :
222220 ffi .cdef (include .header )
You can’t perform that action at this time.
0 commit comments