Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS simulator build to pipelines #162

Merged
merged 14 commits into from
Jan 12, 2025
Merged

Conversation

KenVanHoeylandt
Copy link
Member

@KenVanHoeylandt KenVanHoeylandt commented Jan 12, 2025

Build the macOS simulator.
We can't publish it yet, because macOS requires SDL window creation to happen from the main thread, but that in its turn requires the event loop on the main thread too, which isn't working currently:

  • a blocked white screen when event loop is on main thread
  • a black screen when event loop is on a FreeRTOS task (but invisible UI is clickable and starts apps)

Changes in this PR:

  • GitHub actions changed to build simulator on macOS (it's broken, but at least we get a good code portability check for now!)
  • Buildscripts/ shell scripts updated to use /bin/sh so it works on macOS too
  • Various includes fixed in various subprojects so the code is more portable

@KenVanHoeylandt KenVanHoeylandt merged commit 5d189fe into main Jan 12, 2025
9 checks passed
@KenVanHoeylandt KenVanHoeylandt deleted the macos-simulator-pipelines branch January 12, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant