Closed tatchi closed 2 years ago
Thanks @tatchi , will review and merge ASAP.
By the way, do any of you folks remember how to disable the ocaml-ci
check that is making our CI red?
By the way, do any of you folks remember how to disable the
ocaml-ci
check that is making our CI red?
Never used that myself but isn't that something you can configure in the repo's settings (in the Integrations
menu) ?
Never used that myself but isn't that something you can configure in the repo's settings (in the
Integrations
menu) ?
@tatchi thanks, indeed there it is, but I lack the permissions to update it, maybe @kit-ty-kate knows what we should do with it [or point us to the right person]
(@ejgallego You have "Admin" permissions to the ppx_import repository, so I don't know what's going on. Are those integrations an organization-level setting?)
(@ejgallego You have "Admin" permissions to the ppx_import repository, so I don't know what's going on. Are those integrations an organization-level setting?)
Seems so, it was discussed but I don't remember the details sorry :/ (and thanks for the help)
ocaml-ci does not have any configuration (it’s in its "opinionated philosophy" or something like that i believe).
I had a look locally and your issue seems to be that dune build @check
does not work for some reason.
Just a wild guess but I think dune is scanning every directories in search of .ml
files and compiling them to create .cmti
. However not all the .ml
files inside src/compat
are used all the time based on the compiler version if i understand correctly. So I believe you might need to be specific in https://github.com/ocaml-ppx/ppx_import/blob/01f937cbbd3bcd5b0e540951b115244e14a79366/src/dune#L10 to only depend on the required files.
If you really want to disable it all together I believe the url is here: https://github.com/apps/ocaml-ci/installations/new
Oh, good catch @kit-ty-kate , thanks a lot !
First, commit adds OCaml 4.13 to the CI config to demonstrate that it currently fails. Second commit adds support for OCaml 4.13