Skip to content

Commit ae8d810

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! fixup! Fix CI regressions
1 parent 927647c commit ae8d810

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
git clone https://github.com/libsdl-org/SDL.git sdl_repo &&
269269
cmake -S sdl_repo -B sdl_build &&
270270
cmake --build sdl_build --config Release &&
271-
cmake --install sdl_build --config Release
271+
cmake --install sdl_build --config Release --prefix /
272272
CIBW_BEFORE_TEST: pip install numpy
273273
CIBW_TEST_COMMAND: python -c "import tcod.context"
274274
# Skip test on emulated architectures

build_sdl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def get_output(self) -> str:
207207

208208
def on_include_not_found(self, is_malformed: bool, is_system_include: bool, curdir: str, includepath: str) -> None: # noqa: ARG002, FBT001
209209
"""Remove bad includes such as stddef.h and stdarg.h."""
210+
assert "SDL_" not in includepath, includepath
210211
raise pcpp.OutputDirective(pcpp.Action.IgnoreAndRemove)
211212

212213
def _should_track_define(self, tokens: list[Any]) -> bool:

0 commit comments

Comments
 (0)