this repo has no description

Add GitHub Actions CI for OCaml 5.2+

CI runs on Ubuntu Linux with OCaml 5.2 and 5.3, including Node.js
tests.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+41
+41
.github/workflows/ci.yml
··· 1 + name: CI 2 + 3 + on: 4 + push: 5 + branches: [main, master] 6 + pull_request: 7 + branches: [main, master] 8 + 9 + jobs: 10 + build: 11 + runs-on: ubuntu-latest 12 + 13 + strategy: 14 + fail-fast: false 15 + matrix: 16 + ocaml-compiler: 17 + - "5.2" 18 + - "5.3" 19 + 20 + steps: 21 + - name: Checkout code 22 + uses: actions/checkout@v4 23 + 24 + - name: Set up OCaml ${{ matrix.ocaml-compiler }} 25 + uses: ocaml/setup-ocaml@v3 26 + with: 27 + ocaml-compiler: ${{ matrix.ocaml-compiler }} 28 + 29 + - name: Install Node.js 30 + uses: actions/setup-node@v4 31 + with: 32 + node-version: "20" 33 + 34 + - name: Install dependencies 35 + run: opam install . --deps-only --with-test 36 + 37 + - name: Build 38 + run: opam exec -- dune build 39 + 40 + - name: Run tests 41 + run: opam exec -- dune runtest