curl-runnings icon indicating copy to clipboard operation
curl-runnings copied to clipboard

Windows support

Open aviaviavi opened this issue 5 years ago • 3 comments

Please indicate any desire for Windows support here. I can't take care of this now (don't have a Windows machine) but can prioritize if there is interest in using it.

If you're up for implementing this, I am happy to help.

aviaviavi avatar Mar 03 '20 07:03 aviaviavi

I made a Windows build of curl-runnings using GitHub actions a few days ago. It uses choco to install stack and caches the STACK_ROOT so it doesn't have to recompile all the dependencies each time.

It need a bit of refinement (it currently publishes the whole install directory for example). It's possible to trigger a release from a github action too.

Here's an example build that publishes the exe: https://github.com/paulcadman/curl-runnings/actions/runs/47775426

Here's the workflow file: https://github.com/paulcadman/curl-runnings/blob/master/.github/workflows/main.yml

paulcadman avatar Mar 03 '20 07:03 paulcadman

@aviaviavi I'd like a Windows build so I'm happy to polish this POC if you think it's OK. It might be worth migrating the whole build/release system to github actions?

paulcadman avatar Mar 03 '20 07:03 paulcadman

@paulcadman that would be excellent! I wrote the Travis build before GitHub Actions existed, having it in there definitely makes sense. If we merge your windows build, I can migrate the linux+osx build too.

aviaviavi avatar Mar 04 '20 17:03 aviaviavi