Skip to content

Commit

Permalink
Merge pull request #202 from ocaml/gh_actions
Browse files Browse the repository at this point in the history
Switch to GH actions
  • Loading branch information
nojb authored Jun 19, 2020
2 parents 1535e3c + 998c6b7 commit ebcabb0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 90 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Main workflow

on:
- push
- pull_request

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-version:
- 4.09.1
- 4.08.1
- 4.07.1
- 4.02.3

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 install . --deps-only --with-doc --with-test

- run: opam exec -- dune build

- run: opam exec -- dune runtest
61 changes: 0 additions & 61 deletions .travis-ci.sh

This file was deleted.

29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

0 comments on commit ebcabb0

Please sign in to comment.