Github action to build with dune package management
This adds a dune lockdir to the project and a github action where pushing a tag causes a vpn binary distribution to be built for linux and macos, and released to the github "releases" page.
Also fixes a few minor issues which prevented the project from building with the locked versions of dependencies.
Nice! Any idea if this could also work for building a windows binary (ideally statically linked to help with distribution)?
Thanks @gridbugs for the contribution! See https://github.com/quantifyearth/container-image/pull/7 where I left some questions about the intended workflow of this new dev feature.
Nice! Any idea if this could also work for building a windows binary (ideally statically linked to help with distribution)?
There's some more work needed in Dune to better support windows. Currently certain key packages including the OCaml compiler don't build on windows with package management. See https://github.com/ocaml/dune/issues/11161