Skip to content

Commit

Permalink
Loosen Ocaml compiler version upper bound.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoj613 committed Sep 6, 2024
1 parent ecc7580 commit 4792eb0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 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.1.1"
- "5.2.0"
- "4.14.2"
local-packages:
- zarr.opam
Expand All @@ -48,7 +48,7 @@ jobs:
opam exec -- dune build zarr zarr-sync zarr-lwt
- name: setup ocaml-5-specific
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
run: |
opam install eio_main --yes
opam exec -- dune build zarr-eio
Expand All @@ -60,29 +60,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.1.1' }}
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
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.1.1' }}
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
run: opam exec -- bisect-ppx-report send-to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

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

- name: Upload API Docs artifact
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
uses: actions/upload-artifact@v3.1.3
with:
name: docs
path: ./_build/default/_doc/_html

- name: Deploy API Docs
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
(depends
dune
(ocaml
(and (>= 4.14.0) (< 5.2.0)))
(and (>= 4.14.0)))
(yojson (>= 1.6.0))
(ezgzip (>= 0.2.0))
(stdint (>= 0.7.2))
Expand All @@ -46,7 +46,7 @@
(depends
dune
(ocaml
(and (>= 4.14.0) (< 5.2.0)))
(and (>= 4.14.0)))
(zarr (= :version))
(odoc :with-doc)
(ounit2 :with-test)
Expand All @@ -60,7 +60,7 @@
(depends
dune
(ocaml
(and (>= 4.14.0) (< 5.2.0)))
(and (>= 4.14.0)))
(zarr (= :version))
(lwt (>= 2.5.1))
(odoc :with-doc)
Expand All @@ -75,7 +75,7 @@
(depends
dune
(ocaml
(and (>= 5.1.0) (< 5.2.0)))
(and (>= 5.1.0)))
(zarr (= :version))
(eio_main (>= 1.0))
(odoc :with-doc)
Expand Down
2 changes: 1 addition & 1 deletion zarr-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
depends: [
"dune" {>= "3.15"}
"ocaml" {>= "5.1.0" & < "5.2.0"}
"ocaml" {>= "5.1.0"}
"zarr" {= version}
"eio_main" {>= "1.0"}
"odoc" {with-doc}
Expand Down
2 changes: 1 addition & 1 deletion zarr-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
depends: [
"dune" {>= "3.15"}
"ocaml" {>= "4.14.0" & < "5.2.0"}
"ocaml" {>= "4.14.0"}
"zarr" {= version}
"lwt" {>= "2.5.1"}
"odoc" {with-doc}
Expand Down
2 changes: 1 addition & 1 deletion zarr-sync.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
depends: [
"dune" {>= "3.15"}
"ocaml" {>= "4.14.0" & < "5.2.0"}
"ocaml" {>= "4.14.0"}
"zarr" {= version}
"odoc" {with-doc}
"ounit2" {with-test}
Expand Down
2 changes: 1 addition & 1 deletion zarr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doc: "https://zoj613.github.io/zarr-ml"
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
depends: [
"dune" {>= "3.15"}
"ocaml" {>= "4.14.0" & < "5.2.0"}
"ocaml" {>= "4.14.0"}
"yojson" {>= "1.6.0"}
"ezgzip" {>= "0.2.0"}
"stdint" {>= "0.7.2"}
Expand Down

0 comments on commit 4792eb0

Please sign in to comment.