-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen Ocaml compiler version upper bound.
- Loading branch information
Showing
6 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
os: | ||
- ubuntu-latest | ||
ocaml-compiler: | ||
- "5.1.1" | ||
- "5.2.0" | ||
- "4.14.2" | ||
local-packages: | ||
- zarr.opam | ||
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters