Skip to content

Commit

Permalink
Add an example of OCaml 5.1 on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jan 6, 2024
1 parent f859aa7 commit 066588e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
- os: ubuntu-22.04
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-flambda
allow-prerelease-opam: true
- os: windows-2022
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-mingw
allow-prerelease-opam: false
opam-repositories: |
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git
runs-on: ${{ matrix.os }}

Expand All @@ -87,6 +94,7 @@ jobs:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: ${{ matrix.allow-prerelease-opam }}
dune-cache: ${{ matrix.os != 'windows-2022' }}
opam-repositories: ${{ matrix.opam-repositories }}

- run: opam depext --install uri

Expand Down

0 comments on commit 066588e

Please sign in to comment.