Skip to content

Commit 04f9905

Browse files
authored
Fix MacOS SDL build in buildRelease github workflow (#527)
* Update buildRelease workflow to use sdl2-2.30.11 on MacOS * In buildRelease workflow, update Macos build for SDL to use -DMAIKO_DISPLAY_SDL=2 instead of =ON
1 parent e61d0f2 commit 04f9905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/buildRelease.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ jobs:
310310
env:
311311
GH_TOKEN: ${{ github.token }}
312312
run: |
313-
gh release download release-2.26.5 --repo libsdl-org/SDL --pattern SDL2-2.26.5.dmg
314-
hdiutil attach SDL2-2.26.5.dmg
313+
gh release download release-2.30.11 --repo libsdl-org/SDL --pattern SDL2-2.30.11.dmg
314+
hdiutil attach SDL2-2.30.11.dmg
315315
sudo ditto /Volumes/SDL2/SDL2.framework /Library/Frameworks/SDL2.framework
316316
hdiutil detach /Volumes/SDL2/
317317
@@ -337,7 +337,7 @@ jobs:
337337
# -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
338338
cmake .. \
339339
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
340-
-DMAIKO_DISPLAY_SDL=ON \
340+
-DMAIKO_DISPLAY_SDL=2 \
341341
-DMAIKO_DISPLAY_X11=ON \
342342
-DCMAKE_BUILD_TYPE=Release
343343
cmake --build . --config Release

0 commit comments

Comments
 (0)