Skip to content

Commit

Permalink
Update package deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zoj613 committed Nov 30, 2024
1 parent ca93445 commit 8f01568
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- "5.2.0"
- "5.2.1"
- "4.14.2"
local-packages:
- zarr.opam
Expand Down Expand Up @@ -72,14 +72,14 @@ jobs:
- name: setup
run: |
opam install --deps-only --with-test --with-doc --yes zarr
opam install bytesrw conf-zlib conf-zstd --yes
opam install lwt aws-s3-lwt --yes
opam install --deps-only --with-test --with-doc --yes zarr-sync
opam install --deps-only --with-test --with-doc --yes zarr-lwt
opam exec -- dune build zarr zarr-sync zarr-lwt
- name: setup ocaml-5-specific
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
run: |
opam install eio_main --yes
opam install --deps-only --with-test --with-doc --yes zarr-eio
opam exec -- dune build zarr-eio
- name: test
Expand All @@ -89,29 +89,29 @@ jobs:
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-lwt/test/test_lwt.exe -runner sequential -ci true
- name: test ocaml-5-specific libs
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
run: |
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-eio/test/test_eio.exe -runner sequential -ci true
- name: Upload code coverage report
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
run: opam exec -- bisect-ppx-report send-to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Build Docs
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
run: opam exec -- dune build @doc

- name: Upload API Docs artifact
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
uses: actions/[email protected]
with:
name: docs
path: ./_build/default/_doc/_html

- name: Deploy API Docs
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
if: ${{ matrix.ocaml-compiler == '5.2.1' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
(stdint (>= 0.7.2))
(zipc (>= 0.2.0))
(checkseum (>= 0.4.0))
(bytesrw (>= 0.1.0))
(odoc :with-doc)
(ounit2 :with-test)
(ppx_deriving :with-test)
Expand Down Expand Up @@ -66,8 +67,10 @@
(zarr (= :version))
(lwt (>= 2.5.1))
(aws-s3-lwt (>= 4.8.1))
(cohttp-lwt (>= 6.0.0))
(odoc :with-doc)
(ounit2 :with-test)
(tiny_httpd :with-test)
(ppx_deriving :with-test)
(bisect_ppx
(and :dev (>= 2.5.0) :with-test))))
Expand All @@ -84,6 +87,7 @@
(cohttp-eio (>= 6.0.0))
(odoc :with-doc)
(ounit2 :with-test)
(tiny_httpd :with-test)
(ppx_deriving :with-test)
(bisect_ppx
(and :dev (>= 2.5.0) :with-test))))
1 change: 1 addition & 0 deletions zarr-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ depends: [
"cohttp-eio" {>= "6.0.0"}
"odoc" {with-doc}
"ounit2" {with-test}
"tiny_httpd" {with-test}
"ppx_deriving" {with-test}
"bisect_ppx" {dev & >= "2.5.0" & with-test}
]
Expand Down
2 changes: 2 additions & 0 deletions zarr-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ depends: [
"zarr" {= version}
"lwt" {>= "2.5.1"}
"aws-s3-lwt" {>= "4.8.1"}
"cohttp-lwt" {>= "6.0.0"}
"odoc" {with-doc}
"ounit2" {with-test}
"tiny_httpd" {with-test}
"ppx_deriving" {with-test}
"bisect_ppx" {dev & >= "2.5.0" & with-test}
]
Expand Down
4 changes: 1 addition & 3 deletions zarr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ depends: [
"stdint" {>= "0.7.2"}
"zipc" {>= "0.2.0"}
"checkseum" {>= "0.4.0"}
"bytesrw" {>= "0.1.0"}
"odoc" {with-doc}
"ounit2" {with-test}
"ppx_deriving" {with-test}
Expand All @@ -40,6 +41,3 @@ build: [
]
]
dev-repo: "git+https://github.com/zoj613/zarr-ml.git"
pin-depends: [
["bytesrw.dev" "git+https://erratique.ch/repos/bytesrw.git"]
]
3 changes: 0 additions & 3 deletions zarr.opam.template

This file was deleted.

0 comments on commit 8f01568

Please sign in to comment.