fix(ci): pin Windows runner to windows-2022 for SDK compatibility#3860
Open
gtolontop wants to merge 2 commits intocitizenfx:masterfrom
Open
fix(ci): pin Windows runner to windows-2022 for SDK compatibility#3860gtolontop wants to merge 2 commits intocitizenfx:masterfrom
gtolontop wants to merge 2 commits intocitizenfx:masterfrom
Conversation
The windows-latest label now resolves to Windows Server 2025, which does not include Windows SDK 10.0.22000.0 required by the build. This causes all Windows CI builds to fail with MSB8036.
7f2fc33 to bf2cca4 Compare Author
| Why he don't want trigger the building test 😂 |
Author
| Figured it out lol this PR can't be CI-tested because: pr_opened.yml file filter excludes .github/ paths and breaks the compilation check entirely |
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.
Goal of this PR
Fix all Windows CI builds (FiveM, RedM, Server) failing with
MSB8036: The Windows SDK version 10.0.22000.0 was not foundsince thewindows-latestrunner migrated to Windows Server 2025.How is this PR achieving the goal
The
windows-latestGitHub Actions runner label now resolves to Windows Server 2025, which does not include Windows SDK10.0.22000.0required by the build system (systemversion '10.0.22000.0'incode/premake5.lua).This PR pins the Windows runner to
windows-2022which still includes the required SDK. This is a single-line change inci_build.ymlwith zero impact on the build output.Sources:
This PR applies to the following area(s)
CI/CD build pipeline
Successfully tested on
windows-2022runner image includes Windows SDK 10.0.22000.0Checklist
Fixes issues
Fixes Windows CI builds failing on every PR since the
windows-latestrunner migration.