Skip to content

Commit 141cc5c

Browse files
committed
Update project dependencies and update CI parameters.
1 parent 469634d commit 141cc5c

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

.github/workflows/build-and-test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
os:
2525
- ubuntu-latest
2626
ocaml-compiler:
27-
- "5.2.0"
27+
- "5.3.0"
2828
- "4.14.2"
2929
local-packages:
3030
- zarr.opam
@@ -72,12 +72,12 @@ jobs:
7272
- name: setup
7373
run: |
7474
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
7676
opam install lwt aws-s3-lwt --yes
7777
opam exec -- dune build zarr zarr-sync zarr-lwt
7878
7979
- name: setup ocaml-5-specific
80-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
80+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
8181
run: |
8282
opam install eio_main --yes
8383
opam exec -- dune build zarr-eio
@@ -89,29 +89,29 @@ jobs:
8989
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-lwt/test/test_lwt.exe -runner sequential -ci true
9090
9191
- name: test ocaml-5-specific libs
92-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
92+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
9393
run: |
9494
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-eio/test/test_eio.exe -runner sequential -ci true
9595
9696
- name: Upload code coverage report
97-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
97+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
9898
run: opam exec -- bisect-ppx-report send-to Codecov
9999
env:
100100
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
101101

102102
- name: Build Docs
103-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
103+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
104104
run: opam exec -- dune build @doc
105105

106106
- name: Upload API Docs artifact
107-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
107+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
108108
uses: actions/[email protected]
109109
with:
110110
name: docs
111111
path: ./_build/default/_doc/_html
112112

113113
- name: Deploy API Docs
114-
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
114+
if: ${{ matrix.ocaml-compiler >= '5.1' }}
115115
uses: peaceiris/actions-gh-pages@v4
116116
with:
117117
github_token: ${{ secrets.GITHUB_TOKEN }}

dune-project

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
(and (>= 4.14.0)))
3131
(yojson (>= 1.6.0))
3232
(stdint (>= 0.7.2))
33-
(zipc (>= 0.2.0))
33+
(camlzip (>= 1.13))
34+
(bytesrw (>= 0.1.0))
3435
(checkseum (>= 0.4.0))
3536
(odoc :with-doc)
3637
(ounit2 :with-test)

zarr.opam

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ depends: [
1818
"ocaml" {>= "4.14.0"}
1919
"yojson" {>= "1.6.0"}
2020
"stdint" {>= "0.7.2"}
21-
"zipc" {>= "0.2.0"}
21+
"camlzip" {>= "1.13"}
22+
"bytesrw" {>= "0.1.0"}
2223
"checkseum" {>= "0.4.0"}
2324
"odoc" {with-doc}
2425
"ounit2" {with-test}
@@ -40,6 +41,3 @@ build: [
4041
]
4142
]
4243
dev-repo: "git+https://github.com/zoj613/zarr-ml.git"
43-
pin-depends: [
44-
["bytesrw.dev" "git+https://erratique.ch/repos/bytesrw.git"]
45-
]

zarr.opam.template

-3
This file was deleted.

0 commit comments

Comments
 (0)