Skip to content

Commit

Permalink
gha: ci.ml syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Jul 5, 2023
1 parent 131ec2a commit e74e889
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.ml
Original file line number Diff line number Diff line change
Expand Up @@ -485,20 +485,20 @@ let main oc : unit =
("opam-bs-cache", "${{ hashFiles('.github/scripts/main/opam-bs-cache.sh', '*.opam', '.github/scripts/main/preamble.sh') }}");
] in
workflow ~oc ~env "Builds, tests & co"
++ analyse_job ~keys ~platforms:[Linux] (fun analyse_job ->
cygwin_job ~analyse_job (fun cygwin_job ->
main_build_job ~analyse_job ~cygwin_job ~section:"Build" Linux (4, 08) (fun build_linux_job ->
main_build_job ~analyse_job ~cygwin_job Windows latest_ocaml (fun build_windows_job ->
main_build_job ~analyse_job ~cygwin_job MacOS latest_ocaml (fun build_macOS_job ->
main_test_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Opam tests" Linux (fun _ ->
main_test_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS (fun _ ->
cold_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Opam cold" Linux (fun _ ->
solvers_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Compile solver backends" Linux (fun _ ->
solvers_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS (fun _ ->
upgrade_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Upgrade from 1.2 to current" Linux (fun _ ->
upgrade_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS (fun _ ->
hygiene_job ~analyse_job (Specific (Linux, "22.04")) (fun _ ->
end_workflow)))))))))))))
++ analyse_job ~keys ~platforms:[Linux] @@ fun analyse_job ->
cygwin_job ~analyse_job @@ fun cygwin_job ->
main_build_job ~analyse_job ~cygwin_job ~section:"Build" Linux (4, 08) @@ fun build_linux_job ->
main_build_job ~analyse_job ~cygwin_job Windows latest_ocaml @@ fun build_windows_job ->
main_build_job ~analyse_job ~cygwin_job MacOS latest_ocaml @@ fun build_macOS_job ->
main_test_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Opam tests" Linux @@ fun _ ->
main_test_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS @@ fun _ ->
cold_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Opam cold" Linux @@ fun _ ->
solvers_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Compile solver backends" Linux @@ fun _ ->
solvers_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS @@ fun _ ->
upgrade_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job ~section:"Upgrade from 1.2 to current" Linux @@ fun _ ->
upgrade_job ~analyse_job ~build_linux_job ~build_windows_job ~build_macOS_job MacOS @@ fun _ ->
hygiene_job ~analyse_job (Specific (Linux, "22.04")) @@ fun _ ->
end_workflow

let () =
let oc = open_out "main.yml" in
Expand Down

0 comments on commit e74e889

Please sign in to comment.