Skip to content

Commit 4792eb0

Browse files
committed
Loosen Ocaml compiler version upper bound.
1 parent ecc7580 commit 4792eb0

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
os:
2525
- ubuntu-latest
2626
ocaml-compiler:
27-
- "5.1.1"
27+
- "5.2.0"
2828
- "4.14.2"
2929
local-packages:
3030
- zarr.opam
@@ -48,7 +48,7 @@ jobs:
4848
opam exec -- dune build zarr zarr-sync zarr-lwt
4949
5050
- name: setup ocaml-5-specific
51-
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
51+
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
5252
run: |
5353
opam install eio_main --yes
5454
opam exec -- dune build zarr-eio
@@ -60,29 +60,29 @@ jobs:
6060
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-lwt/test/test_lwt.exe -runner sequential -ci true
6161
6262
- name: test ocaml-5-specific libs
63-
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
63+
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
6464
run: |
6565
opam exec -- dune exec --instrument-with bisect_ppx --force -- _build/default/zarr-eio/test/test_eio.exe -runner sequential -ci true
6666
6767
- name: Upload code coverage report
68-
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
68+
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
6969
run: opam exec -- bisect-ppx-report send-to Codecov
7070
env:
7171
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7272

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

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

8484
- name: Deploy API Docs
85-
if: ${{ matrix.ocaml-compiler == '5.1.1' }}
85+
if: ${{ matrix.ocaml-compiler == '5.2.0' }}
8686
uses: peaceiris/actions-gh-pages@v4
8787
with:
8888
github_token: ${{ secrets.GITHUB_TOKEN }}

dune-project

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
(depends
2828
dune
2929
(ocaml
30-
(and (>= 4.14.0) (< 5.2.0)))
30+
(and (>= 4.14.0)))
3131
(yojson (>= 1.6.0))
3232
(ezgzip (>= 0.2.0))
3333
(stdint (>= 0.7.2))
@@ -46,7 +46,7 @@
4646
(depends
4747
dune
4848
(ocaml
49-
(and (>= 4.14.0) (< 5.2.0)))
49+
(and (>= 4.14.0)))
5050
(zarr (= :version))
5151
(odoc :with-doc)
5252
(ounit2 :with-test)
@@ -60,7 +60,7 @@
6060
(depends
6161
dune
6262
(ocaml
63-
(and (>= 4.14.0) (< 5.2.0)))
63+
(and (>= 4.14.0)))
6464
(zarr (= :version))
6565
(lwt (>= 2.5.1))
6666
(odoc :with-doc)
@@ -75,7 +75,7 @@
7575
(depends
7676
dune
7777
(ocaml
78-
(and (>= 5.1.0) (< 5.2.0)))
78+
(and (>= 5.1.0)))
7979
(zarr (= :version))
8080
(eio_main (>= 1.0))
8181
(odoc :with-doc)

zarr-eio.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
1010
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
1111
depends: [
1212
"dune" {>= "3.15"}
13-
"ocaml" {>= "5.1.0" & < "5.2.0"}
13+
"ocaml" {>= "5.1.0"}
1414
"zarr" {= version}
1515
"eio_main" {>= "1.0"}
1616
"odoc" {with-doc}

zarr-lwt.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
1010
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
1111
depends: [
1212
"dune" {>= "3.15"}
13-
"ocaml" {>= "4.14.0" & < "5.2.0"}
13+
"ocaml" {>= "4.14.0"}
1414
"zarr" {= version}
1515
"lwt" {>= "2.5.1"}
1616
"odoc" {with-doc}

zarr-sync.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ doc: "https://zoj613.github.io/zarr-ml"
1010
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
1111
depends: [
1212
"dune" {>= "3.15"}
13-
"ocaml" {>= "4.14.0" & < "5.2.0"}
13+
"ocaml" {>= "4.14.0"}
1414
"zarr" {= version}
1515
"odoc" {with-doc}
1616
"ounit2" {with-test}

zarr.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ doc: "https://zoj613.github.io/zarr-ml"
1515
bug-reports: "https://github.com/zoj613/zarr-ml/issues"
1616
depends: [
1717
"dune" {>= "3.15"}
18-
"ocaml" {>= "4.14.0" & < "5.2.0"}
18+
"ocaml" {>= "4.14.0"}
1919
"yojson" {>= "1.6.0"}
2020
"ezgzip" {>= "0.2.0"}
2121
"stdint" {>= "0.7.2"}

0 commit comments

Comments
 (0)