Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
379e2ca to
9ed2fb6
Compare
9ed2fb6 to
9c204ff
Compare
|
A Windows CLI installer I just came across: https://flynn.io/docs/cli |
|
That would be the way to go. (New-Object Net.WebClient).DownloadString('https://dlang.org/install.psi') | iexNot sure about options, maybe |
|
Generally you want to pin all dependencies' versions in CI. Using the latest version of something means any change could trigger it (if a new dependency release happened since the last change), and such breakages may happen at times when you don't have time to deal with the fallout. |
|
You also want to test your project against the latest compiler without constantly updating configs for every small lib. |
|
I'd like to help out with this - I work on Windows every day and I'm familiar with PowerShell. It seems to me that this PR is conflating two separate issues:
One obviously depends on the other but a more general install script could be much more versatile - Travis for a start, any other CI too. I think the install script shouldn't make any assumptions about which visual studio version it should be using or anything like that - in the more general setting a user should be free to go on to configure visual studio however they like (or not at all). |
|
@rmanthorpe yes. The script comes from one of my Appveyor projects, so that's how it started. As you said yourself, it's probably best to remove all the Visual Studio bits and focus on solely downloading the binaries in an "official" installer script. |
|
There's been no action on this since May 2019. @rmanthorpe, please carve out some of your time to lend a hand in bringing this to closure. If no do not have the time or inclination to work on this anymore, please state so. @wilzbach, please work with Richard to get this done. Alternatively, if the need for this no longer exists, please communicate that and close the request. |
|
Thanks a lot for the ping, but as the install script can now be called via cygwin it supports installation on AppVeyor and the other CI platforms out-of-the-box and doesn't require us to maintain two different scripts. |
Copy-pasting this script around, isn't very feasible.
The idea is to do sth. like this for now:
(we can always look into getting native AppVeyor support later)
This is far from ready, but I just configured AppVeyor for this repo, s.t. I can directly test this without needing a Windows machine.