Skip to content

Up min version of async to v0.16.0 #15

Up min version of async to v0.16.0

Up min version of async to v0.16.0 #15

Workflow file for this run

name: Main workflow
on:
- pull_request
- push
jobs:
build:
services:
rabbitmq:
image: rabbitmq
ports:
- 5672/tcp
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- 4.13.0
- 4.14.0
- 5.0.0
concurrency:
- async
- lwt
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin . --no-action
- run: opam install amqp-client amqp-client-${{ matrix.concurrency }} --deps-only --with-doc --with-test
- run: opam exec -- dune build -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune runtest -p amqp-client,amqp-client-${{ matrix.concurrency }}
- run: opam exec -- dune build @integration -p amqp-client,amqp-client-${{ matrix.concurrency }}
env:
AMQP_PORT: ${{ job.services.rabbitmq.ports[5672] }}