File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 8
8
run :
9
9
name : build
10
10
strategy :
11
+ fail-fast : false
11
12
matrix :
12
13
os :
13
14
- ubuntu-latest
15
+ - macos-latest
16
+ - macos-13
17
+ setup-version :
18
+ - v2
19
+ - v3
14
20
ocaml-compiler :
15
- - 4.03 .x
21
+ - 4.06 .x
16
22
- 4.14.x
17
23
- 5.1.x
24
+ exclude :
25
+ - os : ubuntu-latest
26
+ setup-version : v2
27
+ - os : macos-13
28
+ setup-version : v3
29
+ - os : macos-latest
30
+ setup-version : v2
31
+ - os : macos-latest
32
+ ocaml-compiler : 4.06.x
18
33
runs-on : ${{ matrix.os }}
19
34
steps :
20
- - uses : actions/checkout@v2
35
+ - uses : actions/checkout@v4
21
36
- uses : ocaml/setup-ocaml@v2
37
+ if : matrix.setup-version == 'v2'
38
+ with :
39
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
40
+ allow-prerelease-opam : true
41
+ - uses : ocaml/setup-ocaml@v3
42
+ if : matrix.setup-version == 'v3'
22
43
with :
23
44
ocaml-compiler : ${{ matrix.ocaml-compiler }}
24
45
allow-prerelease-opam : true
25
46
- run : opam pin -n .
26
- - run : opam depext -yt linenoise
27
47
- run : opam install -t . --deps-only
28
48
- run : opam exec -- dune build --ignore-promoted-rules
29
49
- run : opam exec -- dune runtest --ignore-promoted-rules
30
- if : ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '4.14.x' }}
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ build: [
15
15
]
16
16
depends: [
17
17
"dune" { >= "1.1" }
18
- "ocaml" { >= "4.03 .0" }
18
+ "ocaml" { >= "4.06 .0" }
19
19
"odoc" {with-doc}
20
20
]
You can’t perform that action at this time.
0 commit comments