-
Notifications
You must be signed in to change notification settings - Fork 32
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 minimized export templates #104
base: main
Are you sure you want to change the base?
Conversation
oh thanks! looks pretty interesting! but it is not ok to store the templates via github repo. the best way would be building them during release. so .github/workflows/create-release.yml should be adjusted before we are ready to merge it |
I can remove those files from the pull request. I'm not sure if we'll be able to build the MacOS templates via GitHub actions though, I believe we need them built on Mac hardware. Although I might be mistaken. Edit: Nevermind! It does appear possible. I'll take a look at this when I get more time. |
I pulled parts of the official Godot workflows to replicate how they create their templates, with a few modifications. This will create the templates and use them for exporting the game, but won't store them in the release. If that's desired I could include that in a separate pull request. |
Summary
As discussed in #50 I've created minimized export templates for each platform. The TEMPLATES.md file includes instructions on how to build new versions when the engine version changes. Each platform has an associated
*-custom.py
used to define the enabled/disabled features and modules. I've updatedexport_presets.cfg
to use these templates.Size Comparison
Resolves #50