Skip to content

Make ToC channel lazy to avoid file creation at log_level 0 #468

Make ToC channel lazy to avoid file creation at log_level 0

Make ToC channel lazy to avoid file creation at log_level 0 #468

Workflow file for this run

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