Skip to content

Generic support for dir separator #32

Generic support for dir separator

Generic support for dir separator #32

Workflow file for this run

name: Basic CI
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 5.0.x
- 4.14.x
- 4.08.x
- 4.03.x
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-doc --with-test
- run: opam exec -- dune build @install
- run: opam exec -- dune runtest
- name: Upload the build artifact
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-${{ matrix.ocaml-version }}-world.exe
path: _build/default/world.exe
lint-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml 4.13.x
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.13.x
dune-cache: true
- name: Lint doc
uses: ocaml/setup-ocaml/lint-doc@v2