@@ -58,51 +58,33 @@ jobs:
58
58
skip-test : false
59
59
skip-doc : true
60
60
- os : windows-latest
61
- ocaml-compiler : ocaml. 5.2.0,ocaml-option-mingw
61
+ ocaml-compiler : " 5.2"
62
62
skip-effects : false
63
63
skip-test : false
64
64
skip-doc : true
65
65
66
66
runs-on : ${{ matrix.os }}
67
67
68
68
steps :
69
- - name : Set git to use LF
70
- if : runner.ocaml-compiler < 5.2
71
- run : |
72
- git config --global core.autocrlf false
73
- git config --global core.eol lf
74
- git config --global core.ignorecase false
75
-
76
69
- name : Checkout tree
77
70
uses : actions/checkout@v4
71
+ with :
72
+ submodules : recursive
78
73
79
74
- name : Set-up Node.js
80
75
uses : actions/setup-node@v4
81
76
with :
82
77
node-version : lts/*
83
78
84
79
- name : Set-up OCaml ${{ matrix.ocaml-compiler }}
85
- if : runner.os == 'Windows'
86
- uses : ocaml/setup-ocaml@v2
87
- with :
88
- ocaml-compiler : ${{ matrix.ocaml-compiler }}
89
- opam-repositories : |
90
- dra27: https://github.com/dra27/opam-repository.git#windows-5.0
91
- default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
92
- opam: https://github.com/ocaml/opam-repository.git
93
- dune-cache : true
94
- opam-depext : ${{ !matrix.skip-test }}
95
- opam-depext-flags : --with-test
96
-
97
- - name : Set-up OCaml ${{ matrix.ocaml-compiler }}
98
- if : runner.os != 'Windows'
99
- uses : ocaml/setup-ocaml@v2
80
+ uses : ocaml/setup-ocaml@v3.0.0-beta
100
81
with :
101
82
ocaml-compiler : ${{ matrix.ocaml-compiler }}
102
83
allow-prerelease-opam : true
103
84
dune-cache : true
104
- opam-depext : ${{ !matrix.skip-test }}
105
- opam-depext-flags : --with-test
85
+ opam-repositories : |
86
+ hhugo: git+https://github.com/hhugo/opam-repository.git#gmp-mingw
87
+ default: git+https://github.com/ocaml/opam-repository.git
106
88
107
89
- run : opam install . --best-effort
108
90
if : ${{ matrix.skip-test }}
@@ -144,13 +126,13 @@ jobs:
144
126
uses : actions/checkout@v4
145
127
146
128
- name : Set-up OCaml
147
- uses : ocaml/setup-ocaml@v2
129
+ uses : ocaml/setup-ocaml@v3.0.0-beta
148
130
with :
149
131
ocaml-compiler : " 5.2"
150
132
allow-prerelease-opam : true
151
133
dune-cache : true
152
134
153
- - uses : ocaml/setup-ocaml/lint-opam@v2
135
+ - uses : ocaml/setup-ocaml/lint-opam@v3.0.0-beta
154
136
continue-on-error : true
155
137
156
138
lint-fmt :
@@ -160,10 +142,10 @@ jobs:
160
142
uses : actions/checkout@v4
161
143
162
144
- name : Set-up OCaml
163
- uses : ocaml/setup-ocaml@v2
145
+ uses : ocaml/setup-ocaml@v3.0.0-beta
164
146
with :
165
147
ocaml-compiler : " 5.2"
166
148
allow-prerelease-opam : true
167
149
dune-cache : true
168
150
169
- - uses : ocaml/setup-ocaml/lint-fmt@v2
151
+ - uses : ocaml/setup-ocaml/lint-fmt@v3.0.0-beta
0 commit comments