-
Notifications
You must be signed in to change notification settings - Fork 76
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
customized compiler distro? #863
Comments
No that is not a goal of this project, we use a set of standard OCaml distros based off ocaml-dockerfile. The general intent is to support all Tier-1 supported platforms for OCaml plus the most common distributions. Right now we support Linux (x86, ARM, POWER, s390x), MacOS (x86, ARM) and FreeBSD (x86), with ongoing work to support Windows and Linux RiscV.
What kind of things would you want to do with that?
It would be possible to add codeberg as a repo source, but we do not have plans to do it currently. If someone was interested in working on it I could help guide the implementation. A good starting point would be looking at https://github.com/ocurrent/ocurrent/tree/master/plugins/gitlab and try building a minimal example like https://github.com/ocurrent/ocurrent/blob/master/doc/examples/gitlab.ml
A GitHub (or GitLab) account is fundamental to how we query for repositories to build, interact with the Git Forge and receive web hook notifications. |
I originally approached the sandmark-nightly people with the idea of leveragnig their ocaml-bench/sandmark-nightly#119 ... together with a bizarre message exchange with @shakthimaan. But you mention the whole range of hardware for your service which would be great news if one was able to also input one's modified distro a'la sandmark-nightly,
I was confused by the github-centric documentation as to whether one needed a github account in addition to a gitlab account. With ocaml distro abstraction a non-goal perhaps a possibility is to overlay the installed |
Note that you an also run ocaml-ci locally, on a git repository. It will track changes committed to the repository, and run its usual test suite. Try |
local? I don't have the hardware to do this which is why I am asking about your service. |
A codeberg plugin would be mandatory then it would require some changes to ocaml-ci directly. Each GitForge type (GitHub, GitLab) has its own ocurrent pipeline. If codeberg support were to be added then a new pipeline would need setting up plus some ops stuff to plumb in the right deployment configuration. This all assumes there is sufficient interest in supporting Codeberg.
ocaml-ci only consults the main https://github.com/ocaml/opam-repository for packages, so installing a different ocaml compiler would be difficult and working against the goals of ocaml-ci. The project is aimed at providing a zero config CI solution for OCaml projects using the metadata from opam, dune and a supported set of platforms (linux, macOS, FreeBSD). I would suggest opening an issue on https://github.com/tarides/ocaml-jit/issues outlining in detail what you are trying to achieve and what resources are required (possibly restating some of what was included in ocaml-bench/sandmark-nightly#119). |
can a customized ocaml distro be installed as the base compiler and repos
added on top?
would you be willing to add gcc cross-compile packages to the base OS together with Qemu?
can you support codeberg.org as a repo source?
can a github account for initial PR registratiion (or anything else) be avoided?
The text was updated successfully, but these errors were encountered: