Skip to content

Commit

Permalink
Add CI for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
talex5 committed Feb 27, 2023
1 parent fd33336 commit e728f53
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Main workflow

on:
pull_request:
push:

jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
ocaml-compiler:
- 5.0.x
local-packages:
- eio eio_luv eio_main

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

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-local-packages: ${{ matrix.local-packages }}
opam-disable-sandboxing: true

- run: opam install ${{ matrix.local-packages }} --deps-only --with-test
- run: opam install ${{ matrix.local-packages }} --with-test

0 comments on commit e728f53

Please sign in to comment.