Skip to content

Commit b587b9f

Browse files
committed
Build with OCaml 5.1.1
1 parent a8d692c commit b587b9f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,23 @@ jobs:
5555

5656
- name: Use OCaml
5757
uses: ocaml/setup-ocaml@v2
58+
if: matrix.os != 'windows-latest'
5859
with:
59-
ocaml-compiler: 4.14.x
60+
ocaml-compiler: 5.1.1
61+
opam-pin: false
62+
opam-depext: false
63+
64+
- name: Use OCaml (Windows)
65+
uses: ocaml/setup-ocaml@v2
66+
if: matrix.os == 'windows-latest'
67+
with:
68+
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
69+
opam-pin: false
70+
opam-depext: false
71+
opam-repositories: |
72+
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
73+
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
74+
default: https://github.com/ocaml/opam-repository.git
6075
6176
- name: Use Node.js
6277
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)