Skip to content

Switch CI/CD to use compiler version #206

Switch CI/CD to use compiler version

Switch CI/CD to use compiler version #206

Workflow file for this run

name: Build & Test

Check failure on line 1 in .github/workflows/workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow.yml

Invalid workflow file

(Line: 15, Col: 25): Unexpected value '5'
on:
- push
- pull_request
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
ocaml-compiler: 5
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup OCaml
uses: avsm/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: Set git user
run: |
git config --global user.name github-actions
git config --global user.email github-actions-bot@users.noreply.github.com
- name: Install Dependencies
run: opam install . --deps-only --with-test --with-doc
- name: Build & Test
run: opam exec dune build @install @runtest @doc