compiler-explorer / compiler-explorer/infra

Windows Installer machine needed for MSVC

Open
#1,331 5 comments 0 reactions 1 assignee Claimed by @mattgodbolt View on GitHub
windows
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

Need a throw-away instance that we can start each time we want to package a new MSVC version.

Scripts in https://github.com/compiler-explorer/infra/tree/main/msvc-install were used to get a lot of versions, but is obviously not recommended for normal use.

Idea is to:
* launch a fresh instance
* pass the URL to an install script (called from a manual workflow?)
* it downloading the installer from that url
* install the buildtools
* rename the msvc compiler dir to `$compilerVersion-$productVersion`
* zip up that directory
* upload to s3
* shutdown

Possible problems:
* We'll only know the `productVersion` after the compiler has been installed (productVersion is unique, compilerVersion is not)
* So only after it's know you could use `msvc-install/gen-props.ps1` to see how the properties would look
* probably much more...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.