Skip to content

Update to mirage-crypto-rng 1.0 API #14

Update to mirage-crypto-rng 1.0 API

Update to mirage-crypto-rng 1.0 API #14

Workflow file for this run

name: build
on:
- push
- pull_request
jobs:
builds:
name: Earliest Supported Version
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.13.0
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: Deps
run: |
opam pin add -n session .
opam install --deps-only session
- name: Build
run: opam exec -- dune build -p session
tests:
name: Tests
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.14.0
- 5
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: Deps
run: |
opam pin add -n session .
opam pin add -n session-cohttp .
opam pin add -n session-cohttp-async .
opam pin add -n session-cohttp-lwt .
opam pin add -n session-postgresql .
opam pin add -n session-postgresql-async .
opam pin add -n session-postgresql-lwt .
opam pin add -n session-redis-lwt .
opam pin add -n session-webmachine .
opam install -t --deps-only .
- name: Build
run: opam exec -- dune build
- name: Test
run: opam exec -- dune runtest -p session