continuous-integration icon indicating copy to clipboard operation
continuous-integration copied to clipboard

Add Visual Stido 2019 to Windows runners

Open UebelAndre opened this issue 4 years ago • 1 comments

Windows builds for rules_foreign_cc seem to be having issues on windows. A recent PR (https://github.com/bazelbuild/rules_foreign_cc/pull/757) runs into issues in this build:

CMake Error at CMakeLists.txt:3 (project):
  Generator
 
    Visual Studio 15 2017
 
  could not find any instance of Visual Studio.

And by trying to update to a newer version Visual Studio (https://github.com/bazelbuild/rules_foreign_cc/pull/758) CI shows:

CMake Error at CMakeLists.txt:6 (project):
  Generator
 
    Visual Studio 16 2019
 
  could not find any instance of Visual Studio.

It'd be nice if a recent version of visual studio was installed. But I'll settle for whatever fixes CI 😄

UebelAndre avatar Aug 12 '21 00:08 UebelAndre

Hi @UebelAndre!

Sorry for the issues here. Both versions of Visual Studio should be installed in the image: https://github.com/bazelbuild/continuous-integration/blob/c6ea70e31177600d96221f2fd409428995b65ef1/buildkite/setup-windows.ps1#L119-L129

I'm not sure why it's no longer working in our latest image.. :/ I'll investigate, but won't have time before Monday (taking tomorrow off and then it's the weekend).

philwo avatar Aug 12 '21 17:08 philwo