Skip to content

Fix workflow a bit

Fix workflow a bit #38

Workflow file for this run

name: Main workflow
on:
- pull_request
- push
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
# - macos-latest
- ubuntu-latest
# - windows-latest
ocaml-compiler:
- "5.1"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
# - name: Upload the build artifact
# uses: actions/upload-artifact@v2
# with:
# name: ${{ matrix.os }}-${{ matrix.ocaml-compiler }}-world.exe
# path: _build/default/world.exe