-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make https://get.haskellstack.org/ work on Travis/Windows #4535
Comments
Oh, interesting. We actually don't recommend using the But in principle, nothing against updating the script to support Windows when running in a |
I wrote a version that does work on Windows through Travis, https://github.com/ndmitchell/travis-check/blob/master/install-stack.sh, and a test at https://travis-ci.org/ndmitchell/travis-check/jobs/483804082#L48. Any chance of that being lifted into the main script? It's probably not going to work anywhere but on Travis - but the old one didn't work there - so it's strictly improving. I know you don't recommend using it on CI, and I know you recommend testing a pinned version, and recommend LTS. I disagree with all of those recommendations 😄 |
I had a look at the script, and overall looks OK, but couple of questions:
Can you make a PR with your changes? |
Will PR against etc/scripts/get-stack.sh one we figure out what it should do around 2. |
I do think supporting |
Thanks, raised a PR #4555. As a bonus, I made it work on Travis, Appveyor and Azure Pipelines. |
#4555 merged. |
Thanks! Any chance of deploying the updated script to the |
I've cherry-picked the changes into the |
Using Travis, you can write a
.travis.yml
which targets Windows. That has enough to runcurl
andsh
. However, the script at get.ehaskellstack.org doesn't have branches for Windows. I think if they were added it should work.The text was updated successfully, but these errors were encountered: