Merge branch 'main' of github.com:groupoid/anders #1207
This file contains hidden or 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: opam | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: | |
| - ubuntu-24.04 | |
| ocaml-version: | |
| - "5.3" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use OCaml ${{ matrix.ocaml-version }} | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-version }} | |
| - name: Install system dependencies | |
| run: opam depext anders --yes | |
| - name: Install dependencies | |
| run: opam install . --deps-only | |
| - name: Build | |
| run: opam exec -- dune build | |
| - name: Install package | |
| run: opam install . | |
| - name: Run tests / checks | |
| run: opam exec -- dune exec anders silent check library/book.anders |