ci: Use windows VMs instead of windows containers

Andres Freund <andres@anarazel.de>

Commit: 8488babc7f497949f89f77c1b18e41e0962e5398
Author: Andres Freund <andres@anarazel.de>
Date: 2023-02-03T05:31:48Z
Releases: 15.2
ci: Use windows VMs instead of windows containers

So far we have used containers for testing windows on cirrus-ci. Unfortunately
they come with substantial overhead: First, the container images are pulled
onto the host on-demand. Due to the large size of windows containers, that
ends up taking nearly 4 minutes. Secondly, IO is slow, leading to CI runs
taking long.

Thus switch to windows VMs, improving windows CI times by well over 2x.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/211afb88-6df6-b74d-f1b7-84b5f21ad875@gmail.com
Backpatch: 15-, where CI was added

Files

PathChange+/−
.cirrus.yml modified +4 −2

Discussion