Add test plan (#47) #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-14, macos-13, macos-12] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install System Dependencies | |
run: brew install llvm nasm | |
- name: Set up OCaml | |
uses: ocaml/setup-ocaml@v2.2.7 | |
with: | |
ocaml-compiler: "5.1.1" | |
- name: Install OCaml Dependencies | |
run: make deps | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test |