Skip to content

Commit

Permalink
Merge pull request #6 from modular-implicits/actions
Browse files Browse the repository at this point in the history
add GitHub actions
  • Loading branch information
pxeger authored Sep 20, 2023
2 parents 23ba8b9 + b4f1e91 commit 5556db7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build generics
on: [push, pull_request, workflow_dispatch]
jobs:
install:
name: Install
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ocaml-compiler: ["ocaml-variants.4.02.1+modular-implicits", "ocaml-variants.4.02.1+modular-implicits-ber", "ocaml-variants.4.02.1+modular-implicits+let_syntax"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
if: steps.cache-dependencies.outputs.cache-hit != 'true'
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
modular-implicits: https://github.com/modular-implicits/modular-implicits-opam.git#master
- run: opam pin add --yes .

0 comments on commit 5556db7

Please sign in to comment.