-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Trying to build Mono project from Github Actions causes headless editor to crash #42378
Comments
My environment is most likely missing something, but I truly am at loss here... After checking, |
Do you have |
@akien-mga what would I be looking for? It doesn't seem to be an Ubuntu package. |
This seems to be the relevant part of the error: Does the same happen if you try this on your machine or does it only happen when running on Github Actions? |
@neikeq it only seems to happen on the GitHub Actions machine which is an Ubuntu 18.04. I am running a Windows 10 locally, so .NET stuff works pretty well out of the box. The requirements for the Godot Mono/Linux/headless only specify installing Mono, which seems to be the case for the runner as the latest |
I have the same problem trying to do this in the Azure pipeline....
|
I solved this here for GitHub Actions, and in a bash script for other cases. Hope it helps! |
Godot version:
3.2.3 mono linux headless: https://downloads.tuxfamily.org/godotengine/3.2.3/mono/Godot_v3.2.3-stable_mono_linux_headless_64.zip
OS/device including version:
Ubuntu 18.04, config: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
Issue description:
Goal is to compile C# scripts from CI/CD to catch any compilation error/warning, and run some unit test suites on some C# modules. I wanted to run Godot before having fun with MSBuild because the Godot C# scripts will need the
.mono
folder in order to find the Godot assemblies.Disclaimer: I don't even know if this is a good idea to setup, or if there's a better way. Suggestions welcome.
I wrote a GitHub action essentially downloading Godot and running it as follows:
Steps to reproduce:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: