@@ -19,45 +19,25 @@ jobs:
19
19
- windows-latest
20
20
- macos-latest
21
21
ocaml-compiler :
22
- - 4.14.x
23
- include :
24
- - os : ubuntu-latest
25
- ocaml-compiler : 5.1.x
26
- - os : macos-latest
27
- ocaml-compiler : 5.1.x
28
- - os : windows-latest
29
- ocaml-compiler : ocaml.5.0.0,ocaml-option-mingw
22
+ - " 4.14"
23
+ - " 5.2"
30
24
31
25
runs-on : ${{ matrix.os }}
32
26
33
27
steps :
34
28
- name : Checkout code
35
- uses : actions/checkout@v3
29
+ uses : actions/checkout@v4
36
30
37
- - name : Use OCaml ${{ matrix.ocaml-compiler }}
38
- uses : ocaml/setup-ocaml@v2
39
- if : runner.os != 'Windows'
31
+ - name : Set-up OCaml ${{ matrix.ocaml-compiler }}
32
+ uses : ocaml/setup-ocaml@v3.0.0-beta
40
33
with :
41
34
ocaml-compiler : ${{ matrix.ocaml-compiler }}
42
- dune-cache : true
43
- opam-depext : true
44
- opam-depext-flags : --with-test
35
+ allow-prerelease-opam : true
45
36
46
- - name : Use OCaml ${{ matrix.ocaml-compiler }}
47
- uses : ocaml/setup-ocaml@v2
48
- if : runner.os == 'Windows'
49
- with :
50
- ocaml-compiler : ${{ matrix.ocaml-compiler }}
51
- opam-repositories : |
52
- dra27: https://github.com/dra27/opam-repository.git#windows-5.0
53
- default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
54
- opam: https://github.com/ocaml/opam-repository.git
55
- dune-cache : true
56
- opam-depext : true
57
- opam-depext-flags : --with-test
37
+ - run : opam install -v . --with-test --deps-only
58
38
59
39
- name : configure tree
60
- run : opam exec -- ./configure
40
+ run : opam exec -- sh ./configure
61
41
62
42
- name : Build
63
43
run : opam exec -- make
68
48
- run : opam install . --with-test
69
49
70
50
- run : opam exec -- git diff --exit-code
71
- if : ${{ !matrix.skip-test }}
0 commit comments