diff --git a/.github/workflows/ci.ml b/.github/workflows/ci.ml index e628ac7999e..1254d6c59f9 100644 --- a/.github/workflows/ci.ml +++ b/.github/workflows/ci.ml @@ -15,7 +15,11 @@ open Lib let ocamls = [ (* Fully supported versions *) - "4.08.1"; "4.09.1"; "4.10.2"; "4.11.2"; "4.12.1"; "4.13.1"; "5.0.0"; "5.1.1"; "4.14.1"; + "4.08.1"; "4.09.1"; "4.10.2"; "4.11.2"; "4.12.1"; "4.13.1"; + "5.0.0"; "5.1.1"; "5.2.0"; + + (* The last elements of the list after 4.14 be used as default versions *) + "4.14.1"; ] (* Entry point for the workflow. Workflows are specified as continuations where @@ -65,7 +69,7 @@ let end_workflow ~oc:_ ~workflow:_ = () let ocamls = List.map (fun v -> Scanf.sscanf v "%u.%u.%u" (fun major minor _ -> ((major, minor), v))) ocamls -let latest_ocaml = List.fold_left (fun _ (v, _) -> v) (0, 0) ocamls +let latest_ocaml = (4, 14) let platform_ocaml_matrix ?(dir=List.drop_while) ~fail_fast start_version = (fail_fast, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87567fa4a5e..33054dcc02c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -106,7 +106,7 @@ jobs: needs: Analyse strategy: matrix: - ocamlv: [ 4.08.1, 4.09.1, 4.10.2, 4.11.2, 4.12.1, 4.13.1, 5.0.0, 5.1.1, 4.14.1 ] + ocamlv: [ 4.08.1, 4.09.1, 4.10.2, 4.11.2, 4.12.1, 4.13.1, 5.0.0, 5.1.1, 5.2.0, 4.14.1 ] fail-fast: true steps: - name: Install bubblewrap