vpnkit icon indicating copy to clipboard operation
vpnkit copied to clipboard

Github action to build with dune package management

Open gridbugs opened this issue 3 months ago • 3 comments

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.

gridbugs avatar Nov 14 '25 08:11 gridbugs

Nice! Any idea if this could also work for building a windows binary (ideally statically linked to help with distribution)?

samoht avatar Nov 14 '25 09:11 samoht

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.

avsm avatar Nov 15 '25 12:11 avsm

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

gridbugs avatar Nov 18 '25 23:11 gridbugs