This PR addresses the #1398 (review) and is an alternative to #1398 in some part.
From #1398 (review):
Advantages:
- That would get us rid of the entire business of “installing MSVC” and it would make this Docker image much smaller.
Disadvantages:
We won’t have Dockerfile anymore that people can use locally, e.g., when working on problems that appear only with MSVC.
We’ll probably need some separate CI script for Windows / CMake. Currently, we simply reuse the Linux / autotools script, which is neat.
I do prefer this approach because it is natural.