From c656e3cdca45728a964a40de988f41a917dd5916 Mon Sep 17 00:00:00 2001 From: Tim McGilchrist Date: Mon, 9 Oct 2023 10:04:58 +1100 Subject: [PATCH] Only build Windows on Github Actions. ocaml-ci covers all the other platforms of interest, linux, macos and FreeBSD --- .github/workflows/ci.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cd93372..9d42ea1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,18 +12,12 @@ jobs: fail-fast: false matrix: os: - - macos-12 - - ubuntu-22.04 - windows-2022 ocaml-compiler: - - 4.08.x - # - 4.09.x - # - 4.10.x - # - 4.11.x - # - 4.12.x - - 4.13.x - - 4.14.x + - "ocaml-variants.4.14.1+mingw64c" + - "ocaml.5.0.0,ocaml-option-mingw" + - "ocaml.5.1.0,ocaml-option-mingw" runs-on: ${{ matrix.os }} @@ -35,6 +29,10 @@ jobs: uses: ocaml/setup-ocaml@v2 with: ocaml-compiler: ${{ matrix.ocaml-compiler }} + opam-repositories: | + dra27: https://github.com/dra27/opam-repository.git#windows-5.0 + default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset + standard: https://github.com/ocaml/opam-repository.git - name: Install dependencies run: |