From 95e1d7361adea002faa79597f3302acb3897f561 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 4 Feb 2024 12:27:46 +0200 Subject: [PATCH] Modernize GH action Test on OCaml 5.1.1 and use the mingw "sunset" repository --- .github/workflows/workflow.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7ed49fc..1f45253 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -8,19 +8,28 @@ on: jobs: build-windows: + strategy: + matrix: + ocaml-compiler: + - ocaml.5.0.0,ocaml-option-mingw + - ocaml.5.1.1,ocaml-option-mingw + runs-on: windows-latest + env: + QCHECK_MSG_INTERVAL: '60' + steps: - - name: Checkout code + - name: Check out code uses: actions/checkout@v3 - - name: Set-up OCaml + - name: Set up OCaml uses: ocaml/setup-ocaml@v2 with: - ocaml-compiler: ocaml.5.0.0,ocaml-option-mingw + ocaml-compiler: ${{ matrix.ocaml-compiler }} opam-repositories: | dra27: https://github.com/dra27/opam-repository.git#windows-5.0 - default: https://github.com/fdopen/opam-repository-mingw.git#opam2 + default: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset standard: https://github.com/ocaml/opam-repository.git - name: Install dependencies