]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CI: Clean up Windows CI
authorTim Duesterhus <tim@bastelstu.be>
Thu, 19 Nov 2020 23:16:01 +0000 (00:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Nov 2020 10:05:16 +0000 (11:05 +0100)
commited54c3baa5c661346e24e6ed0c1fcdd8bd6cedb7
tree277a8b30da676a5bcb51166a91050b46bf43a518
parent8d173e17c0187b551a7f14e62e0d8d16c773fb55
CI: Clean up Windows CI

This patch cleans up the Windows CI to look more similar to the refactored
Linux CI on GitHub Actions.

It switches the environment set-up from some manual cygwin setup via choco to
the msys2/setup-msys2@v2 action which just works and allows later steps to look
like any others without need to manually specify the shell.

This new setup is much faster than before where a single Windows build required
more than 10 minutes with more than 5 minutes just spent setting up the
environment and more than 6 minutes compiling HAProxy.

With this patch the setting of of the environment is done in less than a minute
and HAProxy is compiled in less than 2 minutes.

The only drawback is that Lua does not appear to be readily available. I expect
this to be acceptable and that the benefits far outweight this small drawback.
.github/workflows/windows-latest.yml [deleted file]
.github/workflows/windows.yml [new file with mode: 0644]