Skip to content

add Deser.return

add Deser.return #24

Workflow file for this run

name: build
on:
push:
pull_request:
branches:
- main
jobs:
run:
name: build
strategy:
matrix:
os:
- ubuntu-latest
#- windows-latest # see https://github.com/ocaml/setup-ocaml/issues/361
#- macos-latest # clogs CI
ocaml-compiler:
- '4.08.0'
- '5.0.0'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin -n .
- run: opam depext -yt cbor-pack cbor-pack-ppx
- run: opam install -t . --deps-only
- run: opam exec -- dune build --ignore-promoted-rules
- run: opam exec -- dune runtest --ignore-promoted-rules
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.0.0' }}
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: workflow,commit,repo,ref
# fields: workflow,commit,repo,ref,author
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()