From 066588e34b112b7203bf86a3bef05da1776769f2 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Sat, 6 Jan 2024 21:19:51 +0900 Subject: [PATCH] Add an example of OCaml 5.1 on Windows Signed-off-by: Sora Morimoto --- .github/workflows/workflow.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 00fe1df6..dea981e9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 }} @@ -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