Update parsetree #256
Workflow file for this run
This file contains 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 other platforms | |
# Build and run tests on platforms others than Linux, doing less tests and | |
# running asynchronously from other jobs. | |
on: | |
push: | |
branches: | |
- main | |
- jane | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-others: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
# Don't include windows. At time of writing, its opam repository doesn't have 5.2. | |
# - windows-latest | |
ocaml-compiler: | |
# Don't include every versions. OCaml-CI already covers that | |
- 5.2.x | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Clone the project | |
- uses: actions/checkout@v2 | |
# Setup | |
- name: Setup OCaml ${{ matrix.ocaml-version }} | |
uses: ocaml/setup-ocaml@v2 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
opam-repositories: | | |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset | |
default: https://github.com/ocaml/opam-repository.git | |
- name: Opam dependencies | |
run: opam install --deps-only -t . | |
- name: Runtest | |
run: opam exec -- dune runtest |