@@ -23,11 +23,10 @@ jobs:
23
23
os :
24
24
- macos-latest
25
25
- ubuntu-latest
26
- # - windows-latest # for some reason windows build is not picking dune 3.5
26
+ - windows-latest # for some reason windows build is not picking dune 3.5
27
27
ocaml-compiler :
28
- - ocaml-base-compiler .5.1.1
28
+ - ocaml.5.1.1
29
29
# - 'ocaml-base-compiler.5.2.0~alpha1'
30
-
31
30
runs-on : ${{ matrix.os }}
32
31
33
32
steps :
@@ -48,11 +47,30 @@ jobs:
48
47
env HOMEBREW_NO_AUTO_UPDATE=1 brew install tree
49
48
50
49
- name : Use OCaml ${{ matrix.ocaml-compiler }}
50
+ if : ${{ matrix.os != 'windows-latest' }}
51
51
uses : ocaml/setup-ocaml@v2
52
52
with :
53
53
ocaml-compiler : ${{ matrix.ocaml-compiler }}
54
54
55
+ - name : Use OCaml ${{ matrix.ocaml-compiler }} (Windows)
56
+ if : ${{ matrix.os == 'windows-latest' }}
57
+ uses : ocaml/setup-ocaml@v2
58
+ with :
59
+ ocaml-compiler : ${{ matrix.ocaml-compiler }},ocaml-option-mingw
60
+ opam-repositories : |
61
+ dra27: https://github.com/dra27/opam-repository.git#windows-5.0
62
+ default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
63
+ opam: https://github.com/ocaml/opam-repository.git
64
+
65
+ - name : Install dependencies (Windows)
66
+ if : ${{ matrix.os == 'windows-latest' }}
67
+ working-directory : melange
68
+ run : |
69
+ opam update
70
+ make opam-install-test
71
+
55
72
- name : Install dependencies
73
+ if : ${{ matrix.os != 'windows-latest' }}
56
74
working-directory : melange
57
75
run : |
58
76
opam update
0 commit comments