Skip to content

Merge pull request #4 from AdUhTkJm/main #4

Merge pull request #4 from AdUhTkJm/main

Merge pull request #4 from AdUhTkJm/main #4

name: Build and Test
on:
- push
- pull_request
permissions: read-all
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.2
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build -p moonbit-lang
- run: ./_build/install/default/bin/moonc -v