From aea5030ac21f468e3b15b98db4ba9e56259667b9 Mon Sep 17 00:00:00 2001 From: Ivan Gotovchits Date: Wed, 3 Aug 2022 08:42:52 -0400 Subject: [PATCH] adds CI with a simple build workflow (#19) --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e83f7b3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: build +on: + - pull_request + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: + - macos-latest + - ubuntu-latest + ocaml-version: + - 4.13.x + - 4.03.x + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Use OCaml ${{ matrix.ocaml-version }} + uses: ocaml/setup-ocaml@v2 + with: + ocaml-compiler: ${{ matrix.ocaml-version }} + + - run: opam pin add piqi .