Skip to content

Commit

Permalink
Merge pull request #46 from inhabitedtype/github-actions
Browse files Browse the repository at this point in the history
switch to github actions
  • Loading branch information
seliopou authored Mar 21, 2021
2 parents 353cb28 + 7b5b3b9 commit 5237a8c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 17 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: build

on:
- push
- pull_request

jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.03.0
- 4.05.0
- 4.07.0
- 4.09.0
- 4.11.1

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 }}

- name: Deps
run: |
opam pin add -n bigstringaf .
opam install -t --deps-only .
- name: Build
run: opam exec -- dune build

- name: Test
run: opam exec -- dune runtest
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Bigstrings and other string-like types.

So here they are. Go crazy.

[![Build Status](https://travis-ci.org/inhabitedtype/bigstringaf.svg?branch=master)](https://travis-ci.org/inhabitedtype/bigstringaf)
[![Build Status](https://github.com/inhabitedtype/bigstringaf/workflows/build/badge.svg)](https://github.com/inhabitedtype/bigstringaf/actions?query=workflow%3A%22build%22)

## Installation

Expand Down

0 comments on commit 5237a8c

Please sign in to comment.