Skip to content

Conversation

@Ericzklm
Copy link
Contributor

@Ericzklm Ericzklm commented Mar 24, 2025

Adding a barebones workflow to compile a standalone SerialPrograms applet on MacOS.

Notes:

  • Changed path of SerialPrograms collateral to writable application space
  • Bundled Resources into the app to make the application portable
  • Compiles the application when a new tag is pushed in Arduino-Source, currently releasing to this repo
    • This workflow can also be moved to ComputerControl to release there instead or add a token to have this workflow release to the ComputerControl repo
  • Run on macos-13 Intel runner. macos-15 compile is a can-of-worms and local compiles are done on x86_64 anyways
  • The /usr/local/lib or /opt/homebrew areas are not part of the default rpath on runners and needs to be added for certain frameworks to be discovered
  • Some secondary dependency frameworks are not copied in via the qt deployment in the runner environment. They're added into the bundle manually before deployment since the tool is still able to properly link the library paths but not copy them
    • I believe this is a tool bug but I'm not sure what about the runner environment is triggering it
    • There are other libraries that are not discovered and linked unless these frameworks are included
  • The app needs to be codesigned to be able to run, a dummy signature is good enough

Moved paths for collateral to application space on MacOS
@Mysticial Mysticial merged commit c6b4282 into PokemonAutomation:main Mar 27, 2025
6 checks passed
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.

3 participants