Make ToC channel lazy to avoid file creation at log_level 0 #468
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run: | |
| name: Build | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| # Either the waiting queue for FreeBSD is very long, or it is not available. | |
| # - freebsd-latest | |
| ocaml-compiler: | |
| - 5.3.x | |
| - 5.4.x | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Set git to use LF | |
| run: | | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf | |
| git config --global core.ignorecase false | |
| - uses: actions/checkout@v4 | |
| - uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
| dune-cache: true | |
| allow-prerelease-opam: true | |
| - run: opam pin -n . | |
| - run: opam install . -y --deps-only --with-test --with-doc | |
| - run: opam exec -- dune build | |
| - run: opam exec -- dune runtest |