File tree Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Original file line number Diff line number Diff line change 12
12
fail-fast : false
13
13
matrix :
14
14
os :
15
+ - macos-13
15
16
- macos-latest
16
17
- ubuntu-latest
17
18
- windows-latest
@@ -20,17 +21,52 @@ jobs:
20
21
- 4.10.x
21
22
- 4.12.x
22
23
- 4.14.x
24
+ - 5.02.x
25
+ setup-version :
26
+ - v2
27
+ - v3
28
+ exclude :
29
+ - os : ubuntu-latest
30
+ setup-version : v2
31
+ - os : macos-13
32
+ setup-version : v3
33
+ - os : macos-latest
34
+ setup-version : v2
35
+ - os : macos-latest
36
+ ocaml-compiler : 4.08.x
37
+ - os : windows-latest
38
+ setup-version : v3
39
+ ocaml-compiler : 4.08.x
40
+ - os : windows-latest
41
+ setup-version : v3
42
+ ocaml-compiler : 4.10.x
43
+ - os : windows-latest
44
+ setup-version : v3
45
+ ocaml-compiler : 4.12.x
46
+ - os : windows-latest
47
+ setup-version : v3
48
+ ocaml-compiler : 4.14.x
49
+ - os : windows-latest
50
+ setup-version : v2
51
+ ocaml-compiler : 5.02.x
23
52
24
53
runs-on : ${{ matrix.os }}
25
54
26
55
steps :
27
56
- name : Checkout code
28
- uses : actions/checkout@v3
57
+ uses : actions/checkout@v4
29
58
30
- - name : Use OCaml ${{ matrix.ocaml-compiler }}
59
+ - name : Use OCaml ${{ matrix.ocaml-compiler }} with v2
60
+ if : ${{ matrix.setup-version == 'v2' }}
31
61
uses : ocaml/setup-ocaml@v2
32
62
with :
33
63
ocaml-compiler : ${{ matrix.ocaml-compiler }}
64
+
65
+ - name : Use OCaml ${{ matrix.ocaml-compiler }} with v3
66
+ if : ${{ matrix.setup-version == 'v3' }}
67
+ uses : ocaml/setup-ocaml@v3
68
+ with :
69
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
34
70
35
71
- run : opam install . --deps-only --with-test
36
72
You can’t perform that action at this time.
0 commit comments