-
Notifications
You must be signed in to change notification settings - Fork 20
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
Can we mimic Godot build scripts to build all platforms support? #41
Comments
It looks cool but is it doable? https://github.com/godotengine/build-containers/blob/master/build.sh is a good starting point for contemplating. |
I have some experience setting this up for Linux, that should be fairly easy. I think I'll try that sometime soon, and once that is done we can go on to other OSs 👍 |
I setup a GitHub Action for automatic Linux builds in d20abee! We could use the artifacts of this for automated releases. Unfortunately it's quite slow because it regenerates the CPP bindings every time - it'd be nice to find a way to cache those. |
(note to self) I found
|
A GitHub Action for building on Mac OS was added in c395052 and seems to work! Only Windows left - I restructured that build to use MinGW instead of MSVC, that way we can cross-compile from Linux which is much more comfortable. However, we need Fedora for that build since its package repository provides direct access to MinGW GDAL builds and all its dependencies. GitHub doesn't offer Fedora for actions, so we'll likely want to use a minimal Docker container for that, similarly to how Godot does it. |
All platforms now have functional GitHub Actions for compilation! What we need to do now is figure out packaging and publish the build artifacts accordingly. That means this issue is blocked until #42 is done. |
#60 publishes the build artifacts in the GitHub Action tab. For the asset store, we'll want to push them to a GitHub repo - either to this one, or to a new one with only the binaries relevant for users. |
Maybe this helps https://github.com/godotengine/godot-build-scripts ?
Godot CI is using this to test every PR generating builds in https://github.com/godotengine/godot/actions .. ie https://github.com/godotengine/godot/actions/runs/507761636 has build artifacts ... not sure as I haven't tried myself yet.
The text was updated successfully, but these errors were encountered: