Skip to content

Commit

Permalink
Add eio bindings to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
andersfugmann committed Jul 4, 2023
1 parent 47b2fe3 commit 6df7c25
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
os:
- ubuntu-20.04
ocaml-version:
- ocaml-base-compiler.5.0.0~beta1
- 5.0.0
- 4.14.0
- 4.04.1

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
Expand All @@ -42,9 +42,16 @@ jobs:
opam exec -- dune runtest zmq-lwt
- name: zmq-async
if: ${{ matrix.ocaml-version != 'ocaml-base-compiler.5.0.0~beta1' }}
run: |
opam pin add zmq-async.dev . --no-action
opam install --deps-only --with-doc --with-test zmq-async
opam exec -- dune build zmq-async
opam exec -- dune runtest zmq-async
- name: zmq-eio
if: ${{ matrix.ocaml-version == '5.0.0' }}
run: |
opam pin add zmq-eio.dev . --no-action
opam install --deps-only --with-doc --with-test zmq-eio
opam exec -- dune build zmq-eio
opam exec -- dune runtest zmq-eio

0 comments on commit 6df7c25

Please sign in to comment.