Windows automated builds have started failing, github have changed "something"?#! Need help to resolve. #1192
Replies: 9 comments 14 replies
-
I've observed similar failures on azure pipelines recently. Maybe the issue is "os: windows-latest" which doesn't have required toolset. On azure explicit specifying windows-2019 fixed the build. But I don't know what options are available on github. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion/link. I have tried windows-2019 but now get the error: https://github.com/vsg-dev/VulkanSceneGraph/actions/runs/9128585117/job/25101231819 |
Beta Was this translation helpful? Give feedback.
-
At least it was able to find VS 2017. Maybe now the issue is with "Add MSBuild to PATH" as there are mentions of VS 2019 but not 2017. Is it correct that VSG supposed to be build with VS 2017? Probably "Add MSBuild to PATH" should be extended with specific version like described here https://github.com/microsoft/setup-msbuild#specifying-specific-versions-of-visual-studio-optional |
Beta Was this translation helpful? Give feedback.
-
I tried using cmake --build to build under Windows and this works so now things are compiling on all platforms with this commit: b1c6c10 I have now checked in reverting back to windows-latest to see if that works again now I'm just relying on cmake to do the build. I haven't attempted an install as well yet, but baby steps... |
Beta Was this translation helpful? Give feedback.
-
I like the simplicity of just bumping the CMake version for the automated builds, if it's straight forward to do this just for Windows then this would be fine. What version of CMake is required to make things work more smoothly for Windows? The oldest version that works would be the starting place if we are just going to use one CMake version. |
Beta Was this translation helpful? Give feedback.
-
Would it work fine if we didn't specify a cmake version? I presume window-latest would pull in CMake 3.21 or later. |
Beta Was this translation helpful? Give feedback.
-
To test out the possibility of just not specifying the CMake version I created a ci_yml_revisions branch and checked in the commit that removes the CMake version specification: c623fcc. This compiles fine on the automated build. Next test to to try window-latest... |
Beta Was this translation helpful? Give feedback.
-
I have merged my latest changes to the ci.yml with VSG master: #1194. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
For the last couple of days any commits to the VulkanSceneGraph repo has been resulting in build errors for the Windows automated build target. Nothing changed to the VulkanSceneGraph/.github/workflows/ci.jml that directs the automated buildsm it was working one day, then a couple of days ago it broke. The errors look like:
I didn't write our ci.yml files so I can't claim any expertise with automated builds let alone the Windows side. The ci.jml file was including microsoft/setup-msbuild@v1.1 so I looked up microsoft/setup-msbuild and found there is now a v2 version so I updated our ci.yml to this, and changed MSBUILD.exe to msbuild to be more consistent with the microsoft/setup-msbuild docs. This were done with these two commits: a827f2c & 1f8c285.
Unfortunately the errors remain the same. Has github broken something? Have folks come across other projects that their automated builds are failing?
I would appreciate help in resolving this issue as I've not yet come up with anything helpful on my own yet.
Beta Was this translation helpful? Give feedback.
All reactions