Skip to content

Commit 1d91d43

Browse files
authored
Merge pull request #748 from ocaml/windows-5.1
Add an example of OCaml 5.1 on Windows
2 parents 0837440 + 066588e commit 1d91d43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ jobs:
7070
- os: ubuntu-22.04
7171
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-flambda
7272
allow-prerelease-opam: true
73+
- os: windows-2022
74+
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-mingw
75+
allow-prerelease-opam: false
76+
opam-repositories: |
77+
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
78+
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
79+
default: https://github.com/ocaml/opam-repository.git
7380
7481
runs-on: ${{ matrix.os }}
7582

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

9199
- run: opam depext --install uri
92100

0 commit comments

Comments
 (0)