Support 5.2 raw identifiers (#2621) #794
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 | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-others: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- windows-latest | |
ocaml-compiler: | |
# Don't include every versions. OCaml-CI already covers that | |
- 4.14.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: Format | |
run: opam exec -- dune fmt | |
- name: Runtest | |
run: opam exec -- dune runtest |