Switch exceptions used for control flow from global to local #60
Workflow file for this run
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: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run: | |
| name: Build | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| # macOS is just too slow, ugh | |
| #- macos-latest | |
| ocaml-compiler: | |
| - 4.08.x | |
| - 4.14.x | |
| # TODO: - 5.1.x # https://github.com/ocaml/setup-ocaml/issues/733 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ocaml/setup-ocaml@v2 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
| allow-prerelease-opam: true | |
| - run: opam pin -n . | |
| - run: opam depext -yt iter | |
| - run: opam install -t . --deps-only | |
| - run: opam exec -- dune build @src/install | |
| - run: opam exec -- dune runtest tests/ | |
| if: ${{ matrix.os == 'ubuntu-latest'}} |