Skip to content

Commit

Permalink
Configuration for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pdonadeo authored Apr 25, 2021
1 parent a0e65df commit f66e2eb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Main workflow

on:
- push

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-version:
- 4.10.2
- 4.11.2
- 4.12.0

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
with:
ocaml-version: ${{ matrix.ocaml-version }}

- run: opam pin add lens.dev . --no-action

- run: opam depext lens --yes --with-doc --with-test

- run: opam install . --deps-only --with-doc --with-test

- run: opam exec -- dune build

0 comments on commit f66e2eb

Please sign in to comment.