File tree Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change 14
14
fail-fast : true
15
15
matrix :
16
16
os :
17
- - macos-latest
18
17
- ubuntu-latest
19
- # - windows-latest
20
18
ocaml-compiler :
21
19
- ' 4.08'
22
20
- ' 4.14'
@@ -32,23 +30,37 @@ jobs:
32
30
ocaml-compiler : ${{ matrix.ocaml-compiler }}
33
31
dune-cache : true
34
32
allow-prerelease-opam : true
35
-
36
33
- run : opam install -t containers containers-data --deps-only
37
- if : matrix.os == 'ubuntu-latest'
34
+ - run : opam exec -- dune build '@install'
35
+ - run : opam exec -- dune runtest
38
36
37
+ compat :
38
+ name : build
39
+ timeout-minutes : 15
40
+ strategy :
41
+ fail-fast : true
42
+ matrix :
43
+ os :
44
+ - macos-latest
45
+ - ubuntu-latest
46
+ # - windows-latest
47
+ ocaml-compiler :
48
+ - ' 5.1'
49
+
50
+ runs-on : ${{ matrix.os }}
51
+ steps :
52
+ - uses : actions/checkout@main
53
+ - name : Use OCaml ${{ matrix.ocaml-compiler }}
54
+ uses : ocaml/setup-ocaml@v2
55
+ with :
56
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
57
+ dune-cache : true
58
+ allow-prerelease-opam : true
39
59
- run : |
40
60
opam install -t containers --deps-only ;
41
61
opam install containers-data --deps-only # no test deps
42
- if: matrix.os != 'ubuntu-latest'
43
-
44
62
- run : opam exec -- dune build '@install'
45
-
46
- - run : opam exec -- dune runtest
47
- if : ${{ matrix.os == 'ubuntu-latest' }}
48
-
49
63
- run : opam exec -- dune runtest -j 1 -p containers # test only core on non-ubuntu platform
50
- if : ${{ matrix.os != 'ubuntu-latest' }}
51
-
52
64
53
65
format :
54
66
name : format
You can’t perform that action at this time.
0 commit comments