I'm after some useful recommendations for a relatively simple occasional-use windows build setup. I'm writing this while a new Windows VM is going through install, update, visual studio tools setup, and (eventually) rustup install.
All so I can build a Windows binary of a quickie CLI tool for someone. The last time I did this (for testing something quickly) was long enough ago that that VM image would probably take even longer to update than a fresh install.
What would be a better way? Some thoughts and details that might guide better recommendations:
- I'm not (particularly) after a CI platform, partly because of extra setup for adhoc projects (that might not even be mine), and partly because I probably want an interactive way to run the generated binary a few times for tests and validation. That said, if there's some basically painless way to do it that works with gitlab runner, I'm interested.
- I could (and absent better suggestions, will probably) just do roughly what I'm doing now, but with an AWS (or whatever) instance rather than a local VM. At least the initial install will be via a clone, and the updates and disk IO will probably be faster.
- I use VSCode on Linux, and the remote tools are great to other linux instances. There is some stuff in there I haven't really investigated to launch Azure build instances.
I'm sure that includes Windows and they've made the UX pretty slick, but I'm not sure what the availability of Rust is in those platforms. If this install takes much longer, that's probably what I'll go read up on next - but I would welcome any endorsements or cautions from others who have tried it (especially if you use windows regularly and have tripped over something I'm unlikely to know what to do with).Update Windows only available as a part of a VS (not -code) private preview, so far. - Other things I haven't thought of?
- [Edit]: as I have now reached the point where I realise I also need a windows version of git, perhaps what I want is a more automated way of doing the setup - an ansible playbook to install all the needed things would be useful, if it can work unattended.