Skip to content

gh: update compiler matrix #41

gh: update compiler matrix

gh: update compiler matrix #41

Workflow file for this run

name: Yaml
on: [push]
jobs:
run:
name: Tests
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [macos-latest, ubuntu-latest, windows-latest]
ocaml-compiler: [ '5.1.0', '4.14.1', '4.08.0']
steps:
- uses: actions/checkout@master
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin add yaml.dev -n .
- run: opam pin add yaml-sexp.dev -n .
- name: Packages
run: opam depext -yt yaml yaml-sexp
- name: Dependencies
run: opam install -t . --deps-only
- name: Build
run: opam exec -- dune build
- name: Test
run: opam exec -- dune runtest