rgrinberg / opium

Sinatra like web toolkit for OCaml
MIT License
755 stars 67 forks source link

Use setup-ocaml@v2 for ci #274

Closed anuragsoni closed 3 years ago

anuragsoni commented 3 years ago

Simpler CI setup using setup-ocaml@v2. Removing lock file handling for now as the OCaml dependencies get locked a little differently in lock files on windows vs linux/Mac (ocaml-base-compiler isn't present in the reopen repo for windows), and its simpler to just use the Opam files on all platforms. Also trimming the set of OCaml compilers we test on as I don't think we really need to run tests against every version since 4.08 on all operating systems.

This brings the CI time down to < 10 minutes - https://github.com/anuragsoni/opium/actions/runs/1430620084