24
24
os :
25
25
- ubuntu-latest
26
26
ocaml-compiler :
27
- - " 5.2 .0"
27
+ - " 5.3 .0"
28
28
- " 4.14.2"
29
29
local-packages :
30
30
- zarr.opam
@@ -72,12 +72,12 @@ jobs:
72
72
- name : setup
73
73
run : |
74
74
opam install --deps-only --with-test --with-doc --yes zarr
75
- opam install bytesrw conf-zlib conf-zstd --yes
75
+ opam install conf-zlib conf-zstd --yes
76
76
opam install lwt aws-s3-lwt --yes
77
77
opam exec -- dune build zarr zarr-sync zarr-lwt
78
78
79
79
- name : setup ocaml-5-specific
80
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
80
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
81
81
run : |
82
82
opam install eio_main --yes
83
83
opam exec -- dune build zarr-eio
@@ -89,29 +89,29 @@ jobs:
89
89
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-lwt/test/test_lwt.exe -runner sequential -ci true
90
90
91
91
- name : test ocaml-5-specific libs
92
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
92
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
93
93
run : |
94
94
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-eio/test/test_eio.exe -runner sequential -ci true
95
95
96
96
- name : Upload code coverage report
97
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
97
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
98
98
run : opam exec -- bisect-ppx-report send-to Codecov
99
99
env :
100
100
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
101
101
102
102
- name : Build Docs
103
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
103
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
104
104
run : opam exec -- dune build @doc
105
105
106
106
- name : Upload API Docs artifact
107
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
107
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
108
108
109
109
with :
110
110
name : docs
111
111
path : ./_build/default/_doc/_html
112
112
113
113
- name : Deploy API Docs
114
- if : ${{ matrix.ocaml-compiler == '5.2.0 ' }}
114
+ if : ${{ matrix.ocaml-compiler >= '5.1 ' }}
115
115
uses : peaceiris/actions-gh-pages@v4
116
116
with :
117
117
github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments