From ab73b8d340481acadf62ee14ad7f4e471da18e34 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:08:43 +0000 Subject: [PATCH 1/2] Initial plan From 2c3fdd5f75c448776836f7a9ebf921afd73456a5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:11:06 +0000 Subject: [PATCH 2/2] Add OCaml GitHub Actions CI workflow Co-authored-by: wizard7377 <76231370+wizard7377@users.noreply.github.com> --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..19c782c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build and Test + +on: + push: + branches: ["**"] + pull_request: + branches: ["**"] + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + + - name: Set up OCaml + uses: ocaml/setup-ocaml@v3 + with: + ocaml-compiler: "5.2.0" + + - name: Install dependencies + run: opam install . --deps-only --with-test + + - name: Build + run: opam exec -- dune build + + - name: Test + run: opam exec -- dune test