Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/lib/common/platform.ml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
type ocaml_version = V4_14 | V5_3
type ocaml_version = V4_14 | V5_3 | V5_4

let pp_ocaml f = function V4_14 -> Fmt.pf f "4.14" | V5_3 -> Fmt.pf f "5.3"
let pp_ocaml f = function
| V4_14 -> Fmt.pf f "4.14"
| V5_3 -> Fmt.pf f "5.3"
| V5_4 -> Fmt.pf f "5.4"

let pp_exact_ocaml f = function
| V4_14 -> Fmt.pf f "4.14.2"
| V5_3 -> Fmt.pf f "5.3.0"
| V5_4 -> Fmt.pf f "5.4.0"

type os = Debian | Ubuntu | Fedora

Expand Down Expand Up @@ -54,6 +58,12 @@ let platform_v53_amd64 =
let platform_v53_arm64 =
{ system = { ocaml = V5_3; os = Debian }; arch = Arm64 }

let platform_v54_amd64 =
{ system = { ocaml = V5_4; os = Debian }; arch = Amd64 }

let platform_v54_arm64 =
{ system = { ocaml = V5_4; os = Debian }; arch = Arm64 }

let platform_host =
Bos.Cmd.(v "uname" % "-m")
|> Bos.OS.Cmd.run_out
Expand Down
2 changes: 2 additions & 0 deletions src/pipelines/PR.ml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ module Run = struct
platform_v414_arm64;
platform_v53_amd64;
platform_v53_arm64;
platform_v54_amd64;
platform_v54_arm64;
]
|> List.map (fun platform ->
perform_test ~metadata ~platform commit)
Expand Down