Skip to content
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

How to get a runner on OCaml 5.2.1? #50

Open
hannesm opened this issue Mar 4, 2025 · 1 comment
Open

How to get a runner on OCaml 5.2.1? #50

hannesm opened this issue Mar 4, 2025 · 1 comment

Comments

@hannesm
Copy link
Contributor

hannesm commented Mar 4, 2025

I don't quite understand, but I'd like to get a Mirage CI that uses OCaml 5.2.1. Now, it seems to use

let pp_ocaml f = function V4_14 -> Fmt.pf f "4.14" | V5_2 -> Fmt.pf f "5.2"

let pp_exact_ocaml f = function
  | V4_14 -> Fmt.pf f "4.14.2"
  | V5_2 -> Fmt.pf f "5.2.1"

let pp_system f { ocaml; os } = Fmt.pf f "%a-ocaml-%a" pp_os os pp_ocaml ocaml
let spec t = Spec.make @@ Fmt.str "ocaml/opam:%a" pp_system t

So, ocaml/opam:...-5.2 -- which is an image with the OCaml 5.2.0 compiler. Is there as well a -5.2.1 tag that we can use?

@tmcgilchrist
Copy link
Member

Hi @hannesm,

You'll need to update the Linux distributions as well see https://github.com/ocurrent/mirage-ci/blob/main/src/lib/common/platform.ml#L11 We stopped building new images for those platforms so they will never get OCaml 5.2.1.

Depending on what OCaml versions and Linux distributions you want #50 might work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants