Skip to content

Windows build no longer works on Windows2022 github runner #719

@macumber

Description

@macumber

Issue overview

After update to Windows2022 github runner, actions/runner-images@a615999#diff-d3119a278ce9ce80fc4b5af63a1112fb3a044aec3e6002d838e8eb26d7a3a499L223, the MSC_VER is no longer compatible with that in the conan ruby recipe ruby9af7e8c0a7cea\p\include\ruby-3.2.0\x64-mswin64_140\ruby\config.h

#if (_MSC_VER < 1920) || (_MSC_VER > 1939)
#error MSC version unmatch: 1920..1939 is expected.
#endif

I think Ruby is overly restrictive here and the right thing to do is probably patch it to remove this error

#if (_MSC_VER < 1920) || (_MSC_VER > 1939)
//#error MSC version unmatch: 1920..1939 is expected.
#endif

Current Behavior

Build fails https://github.com/openstudiocoalition/OpenStudioApplication/actions/runs/9472307795/job/26104804025?pr=718

Expected Behavior

Build should succeed

Steps to Reproduce

Run CI action with Windows2022 runner

Possible Solution

Downgrade to Windows2019 (short term), patch ruby (longer term)

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): Windows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions