godot-ci icon indicating copy to clipboard operation
godot-ci copied to clipboard

Godot 4 support?

Open mattkanwisher opened this issue 2 years ago • 21 comments

Any chance we will see GoDot 4 support soon?

mattkanwisher avatar Oct 28 '22 11:10 mattkanwisher

As I understand it, only stable releases are planned to be supported by godot-ci. As a result, Godot 4 will only be supported once 4.0 stable is released.

Calinou avatar Oct 28 '22 16:10 Calinou

Yes, as Calinou mentioned, we do not see value in supporting non-stable releases, as that would add unnecessary overhead to the contributors.

However I have personally made images off of betas and alphas before, so it is very possible and easy (just change the download path).

Let me know if you have difficulty with this.

realkotob avatar Dec 25 '22 08:12 realkotob

Any updates? Godot 4 is stable now. https://godotengine.org/article/godot-4-0-sets-sail/

nlaha avatar Mar 01 '23 16:03 nlaha

No headless binary for now, which is needed for this image to work afaik.

dmcallejo avatar Mar 02 '23 08:03 dmcallejo

No headless binary for now, which is needed for this image to work afaik.

There's no headless binary anymore for Godot 4. The Windows, Mac, and Linux binaries now have a headless mode that's activated when ran with the --headless argument.

Brawmario avatar Mar 02 '23 12:03 Brawmario

Support for Godot 4.0 was added as a release tag yesterday. 🎉

realkotob avatar Mar 02 '23 13:03 realkotob

Hold on @realkotob, the current release of Godot CI 4.0 is broken! It even failed the action for the tag: https://github.com/abarichello/godot-ci/actions/runs/4309001784 . The fact is that the dedicated Linux headless binary is gone and needs to be adjusted in the Dockerfile, maybe PR #104 is still relevant?

Brawmario avatar Mar 02 '23 14:03 Brawmario

Hey guys, just to confirm, this: https://hub.docker.com/r/barichello/godot-ci will be updated to the 4.0 stable as soon as the problem is fixed? Thanks!

DavidOcacho avatar Mar 03 '23 19:03 DavidOcacho

This PR has been merged so things should be fixed now https://github.com/abarichello/godot-ci/pull/104

realkotob avatar Mar 15 '23 15:03 realkotob

But there is no Docker image because the action didn't run as the release tag already exists ?

Nauja avatar Mar 16 '23 09:03 Nauja

I put together a PR for helping complete the support for Godot 4 (#105).

Hoping this can help. Let me know if there is anything I can do to help further. Thanks~

seanmaxwell avatar Mar 25 '23 07:03 seanmaxwell

Seems like there still isn't a Godot 4 image available. Any updates?

ugnmura avatar Apr 29 '23 12:04 ugnmura

See https://github.com/abarichello/godot-ci/pull/107.

It seems that not even 3.5.2 is listed on https://hub.docker.com/r/barichello/godot-ci, so I guess the automated deployment that was merged in https://github.com/abarichello/godot-ci/pull/79 isn't working. cc @TheOrioli

Calinou avatar Apr 29 '23 18:04 Calinou

The check releases is working correctly, but it seems that the current Dockerfile is incorrect, see workflow: https://github.com/abarichello/godot-ci/actions/runs/4613295096

To fix 3.5.2 missing, someone with maintainer access to the repository needs to run the Manual Workflow, but first the issue with the Dockerfile should be fixed.

Unfortunately, I currently do not have the capacity to take a look at it.

What I can suggest for Godot 4 CI builds is https://github.com/chickensoft-games/setup-godot I've been using it successfully on our latest project.

TheOrioli avatar Apr 30 '23 08:04 TheOrioli

Looks like you can just use the official Godot one, and sunset this repo https://github.com/godotengine/godot-build-scripts

mattkanwisher avatar May 02 '23 14:05 mattkanwisher

Looks like you can just use the official Godot one, and sunset this repo https://github.com/godotengine/godot-build-scripts

From godot-build-scripts:

This repository is not intended for end users, and thus not supported.
It's only public as a way to document our build workflow, and for anyone to use as reference for their own buildsystems.

Nauja avatar May 02 '23 14:05 Nauja

The check releases is working correctly, but it seems that the current Dockerfile is incorrect, see workflow: https://github.com/abarichello/godot-ci/actions/runs/4613295096

I believe https://github.com/abarichello/godot-ci/pull/107 has those fixes you're referring to - it was merged 2 weeks after that failed run which 404'd looking for a bad URL (the -headless bit in particular). Correct me if I'm wrong though

To fix 3.5.2 missing, someone with maintainer access to the repository needs to run the Manual Workflow, but first the issue with the Dockerfile should be fixed.

I'm one of those people looking for 3.5.2 support 🥲 Anyone that could help?

maddawik avatar May 11 '23 00:05 maddawik

I'm one of those people looking for 3.5.2 support smiling_face_with_tear Anyone that could help?

I've triggered a workflow run for 3.5.2 stable – check https://github.com/abarichello/godot-ci/actions/workflows/manual_build.yml.

Calinou avatar May 11 '23 00:05 Calinou

@Mawdac

The check releases is working correctly, but it seems that the current Dockerfile is incorrect, see workflow: https://github.com/abarichello/godot-ci/actions/runs/4613295096

I believe #107 has those fixes you're referring to - it was merged 2 weeks after that failed run which 404'd looking for a bad URL (the -headless bit in particular). Correct me if I'm wrong though

To fix 3.5.2 missing, someone with maintainer access to the repository needs to run the Manual Workflow, but first the issue with the Dockerfile should be fixed.

I'm one of those people looking for 3.5.2 support 🥲 Anyone that could help?

image

Seems the build worked🎊 Can you confirm your CI stuff is now operational?

TheOrioli avatar May 11 '23 07:05 TheOrioli

Can confirm my CI stuff is "working"! (It is able to pull down and use the 3.5.2 docker image 🥳 but it's failing for other reasons specific to my project, somewhat like this - https://github.com/abarichello/godot-ci/discussions/48#discussion-1095392 - might open a discussion while debugging that later 😄)

Thank you @Calinou @TheOrioli for the quick build and replies!

maddawik avatar May 11 '23 11:05 maddawik

What I can suggest for Godot 4 CI builds is https://github.com/chickensoft-games/setup-godot I've been using it successfully on our latest project.

Does this mean 4 will never be supported and instead should use the link provided?

Or would this here be better? https://github.com/marketplace/actions/godot-export

Vennnot avatar Aug 01 '23 06:08 Vennnot