Hi,
Thomas Munro off-list mentioned that the Windows CI image is actually
running on Server 2022, even though the task name still refers to
Server 2019. He also suggested upgrading the compiler from Visual
Studio 2019 to Visual Studio 2022.
A PR [1] to upgrade the compiler to VS 2022 is ready in Andres'
pg-vm-images repository (where the CI images are built). This VS 2022
image passes all tests for both MinGW [2] and Meson & Ninja [2]. Once
it's merged, the CI images will automatically start using the VS 2022
compiler.
Two patches are attached, the first one is for fixing server names and
the second one is for upgrading the VS compiler version in the task
name. Please note: the PR and second patch should be committed
simultaneously to avoid mismatches (e.g., a VS 2019 task running with
a VS 2022 compiler, or vice versa).
Any feedback would be appreciated.
[1] https://github.com/anarazel/pg-vm-images/pull/114
[2] https://cirrus-ci.com/build/5095727501672448
--
Regards,
Nazir Bilal Yavuz
Microsoft