-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI workflows on Windows #179
Conversation
This is great - thanks! 😃 🙏 Looking at the CI logs I spotted a couple of things:
|
I think the first error can be eliminated if you add |
Hopefully fixing that might change what's going on in the second part 🤞 |
In the CI log for #179 I just spotted a Linux
|
It seems like the Also the latest Windows
|
This is a lot more complex than it should be because: - even with a `override` opam repository providing packages for the OCaml 5 compiler with build instructions compatible with Windows, setup-ocaml fails - many different attempts to build the compiler in a simpler way failed without many clues to help (probably because of issues with the PATH, which sh is found, or not, to call configure, etc. etc.) - ocaml-config.3 (upstream opam package) fails to install claiming the hashes in the opam package are invalid (?), so the `override` opam repository distribute that same package without the hashes - ocamlfind.1.9.5 as provided by the `default` opam repository doesn’t build with OCaml 5 since the Windows patch uses deprecated functions
I fixed the missing 60s message gap and added to the log the commit of the compiler repository, to track which revision was used when building on trunk. |
Thanks a bunch for getting this working! I'll merge this now 👍 |
This is a lot more complex than it should be because:
override
opam repository providing packages for the OCaml 5 compiler with build instructions compatible with Windows, setup-ocaml failsoverride
opam repository distribute that same package without the hashesdefault
opam repository doesn’t build with OCaml 5 since the Windows patch uses deprecated functions