Repository navigation
Fixed bug in build workflow - #24
Merged
Merged
Conversation
Nuitka's MinGW64 auto-download is broken on Windows CI right now (FATAL: Only this specific gcc is supported with Nuitka / Failed unexpectedly in Scons C backend compilation), and this happens even with zero gcc anywhere on PATH -- ruling out the pre-installed- toolchain-conflict theory from the previous two commits. Matches the open upstream regression Nuitka/Nuitka#3309. windows-latest already ships Visual Studio Build Tools, so force --msvc=latest on Windows instead of fighting the MinGW64 download path. Removes the now-pointless "Remove pre-installed gcc from PATH" step.
windows-latest moved to Windows Server 2025 + Visual Studio 2026 in June 2026 (github.blog changelog / actions/runner-images#14016). Nuitka 2.7.11's MSVC auto-detection doesn't recognize the VS2026 toolset yet: "Nuitka-Scons: MSVC version resolved to None" -> "FATAL: Error, cannot locate suitable C compiler", even with --msvc=latest. This -- not any gcc/PATH conflict or MinGW64-download issue -- was the actual root cause of every Windows build failure investigated so far in this branch: the runner image moved out from under Nuitka. Pin to windows-2022, GitHub's still-maintained image carrying the older, Nuitka-supported VS2022 toolset.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes issues in the build workflow, specifically for Windows.
While fixing the issue, a lot of debug output has been added, which I will keep for debugging potential future issues.