diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..200b0f9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +--- +name: OCaml CI + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup OCaml 5.1.x + uses: ocaml/setup-ocaml@v2 + with: + ocaml-compiler: 5.1.x + + - name: Install Dependencies + run: | + opam install . --deps-only --with-test + + + - name: Run Dune tests + run: dune build @runtest