bake-bake-bake / bakeware

Compile Elixir applications into single, easily distributed executable binaries
Other
1.43k stars 45 forks source link

test on cmd, pwsh and msys2 in windows ci #121

Closed simonmcconnell closed 3 years ago

simonmcconnell commented 3 years ago

This PR changes the GitHub Actions for Windows so that the cmd, pwsh and msys2 shells are all used to build and test the project.

The MakeFile is modified so that SHELL=cmd on Windows, as I was getting failures due to the difference between mkdir (windows) and mkdir -p (unix) in CI.

We use scoop instead of chocolatey, as the Elixir package on scoop is maintained. In my experience, chocolatey is awash with unmaintained packages.

We don't both installing zstd or make as they're preinstalled on GitHub Actions Windows builds. We could probably use the pre-installed msys2 but I had better luck with this action.