-
Notifications
You must be signed in to change notification settings - Fork 127
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
Provide support for Godot 4 #104
Conversation
Godot 4 is still in beta, but there are some changes that will be in Effect in the Future. In particular this change is backwards compatible to the existing workflows. In particular linux_headless has been sunset and replaced by the regular linux distribution (linux.x86_64). To run Godot in a headless context, it is now necessary to specify the display-driver to be "headless". With this change a Workflow can be created for the beta releases of Godot.
Godot renamed the templates folder. Adds a Symbolic Link to support both without any overhead See godotengine/godot#63093
Another example: when using the above mentioned Workflow to create a package (e.g. ghcr.io/bjoernakamanf/godot-ci:4.0.beta14 * )
|
Thanks for getting this working @BjoernAkAManf ! I tried the workflow file from your comment against 4.0 rc5 and it mostly works, but the part of the Dockerfile that runs I got it to work by setting |
Support for Godot 4.0 was added as a release tag yesterday. 🎉 |
The changes here are still relevant, the current release of Godot CI 4.0 failed! |
@Brawmario Good catch thanks! |
merging this PR would make it work, or anything else in necessary? |
Well yes. You'd need to run it with the appropiate arguments though, as i designed it in a way, that it is compatible with godot 3. Similar to @teekennedy 's comment. 2023-01-26T21:03:45.2449593Z build-args: GODOT_VERSION=4.0 EDIT: Version 4 works as well: 2023-03-04T16:14:35.3741804Z build-args: GODOT_VERSION=4.0 |
@realkotob Is this PR good to merge? |
Let's merge this and see if it needs further fixes. Thank you 🙏 |
Godot 4 is still in beta, but there are some changes that will be in Effect in the Future.
In particular this change is backwards compatible to the existing workflows. In particular linux_headless has been sunset and replaced by the regular linux distribution (linux.x86_64). To run Godot in a headless context, it is now necessary to specify the display-driver to be "headless".
With this change a Workflow can be created for the beta releases of Godot.
The following Workflow File (it's based on the official one) can be used to create an image on ghcr.io now (without this PR).
If you want i can also contribute the changes to the release workflow, so once godot4 has been released, the images can be created automatically:
All in all thanks for creating this container image. Has been a blast in the past already.