-
Notifications
You must be signed in to change notification settings - Fork 7
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 support for Godot 3 downloads #33
Conversation
Wow, thanks! Just a few little tiny things. Do you think this merits adding an additional workflow (pretty much a copy/paste of the current one) to always verify Godot 3 installation functionality? |
Ah yes, thanks for mentioning that! I just found |
@definitelyokay This is probably going to take several commits to test the workflow changes. I'll squash them once they are all passing. |
@definitelyokay I've added a new job for 3.x install tests. I encountered an issue with the "Make sure we can build a .NET Godot game" step due to the errors in the log below. I've removed this step for the time being to ensure the others are passing. Any advice you have here would be greatly appreciated. Run GODOT="$(dotnet../../GodotEnv/bin/Debug/net6.0/Chickensoft.GodotEnv.d11 godot env get)"
MSBuild version 17.7.3+8ec440e68 for •NET
Determining projects to restore...
Restored /Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage/TestPackage.csproj (in 964 ms).
Restored /Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage.Tests/TestPackage.Tests.csproj (in 964 ms).
TestPackage - /Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage/nupkg/net6.0/TestPackage.d11
Successfully created package '/Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage/nupkg/TestPackage.1.0.0.nupkg'•
TestPackage.Tests ~> /Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage.Tests/•godot/mono/temp/bin/Debug/TestPackage.Tests.d11
Build succeeded.
• Warning(s)
0 Error (s)
Time Elapsed 00:00:07.09
2023-10-15 16:41:17.691 bin[2028:12376] *** [NSString stringWithUTF8String:]: NULL cString
ERROR: Can't open project at '/Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage.Tests/project.godot', its 'config_version' (5) is from a more recent and incompatible version of the engine. Expected config version: 4.
at:
load_settings_text (core/project_settings.cpp:629)
ERROR: Couldn't load file '/Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage.Tests/project.godot', error code 12.
at:
load_settings_text_or_binary (core/project_settings.срр:659)
arguments
0: /Users/runner/.config/godotenv/godot/bin
1: --headless
2: --run-tests
3: _-quit-on-finish
Current path: /Users/runner/work/GodotEnv/GodotEnv/TestPackage/TestPackage.Tests
Godot Engine v3.5.3.stable.mono.official.6c814135b - https://godotengine.org
OpenGL
ES 3.0 Renderer: Apple Software Renderer
Async.
shader compilation: OFF
Mono: Log file is: '/Users/runner/Library/Application Support/Godot/mono/mono_logs/2023-10-15_16.41.18_2028.1og'
ERROR: Condition "default_certs != nullptr" is true.
at: load_default_certificates (modules/mbedtls/crypto_mbedtls.cpp:314) |
Thank you for all your hard work — I'm sure godotenv users will love being able to install both versions. I think I recognize the issue.
Godot 4 uses |
@definitelyokay thanks for the info! I'm also fine with leaving the test step out for Godot 3. We can always add it later if we find there's a need to. I've squashed the commits down from the tests. If you're happy with the changes, we're good to merge. |
awesome — sounds good! |
This PR includes:
Label
optional when constructingSemanticVersion
Closes #31