Skip to content

Commit

Permalink
Update OCaml compiler version to 5.2
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed May 17, 2024
1 parent 56c0cb9 commit efef220
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ jobs:
matrix:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
os:
- macos-14
- ubuntu-22.04
- macos-latest
- ubuntu-latest
ocaml-compiler:
- "5.1"
- "5.2"
allow-prerelease-opam:
- false
include:
- os: windows-2022
- os: windows-latest
ocaml-compiler: "4.14"
allow-prerelease-opam: false
- os: ubuntu-22.04
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-flambda
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.2.0+options,ocaml-option-flambda
allow-prerelease-opam: true
- os: windows-2022
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-mingw
- os: windows-latest
ocaml-compiler: ocaml-variants.5.2.0+options,ocaml-option-mingw
allow-prerelease-opam: false
opam-repositories: |
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0
Expand All @@ -75,16 +75,12 @@ jobs:
- name: Checkout tree
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5

- name: Set-up Mold
if: runner.os == 'Linux'
uses: rui314/setup-mold@8de9eea54963d01c1a6c200606257d65bd53bea1 # v1

- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ./
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: ${{ matrix.allow-prerelease-opam }}
dune-cache: ${{ matrix.os != 'windows-2022' }}
dune-cache: ${{ runner.os != 'Windows' }}
opam-repositories: ${{ matrix.opam-repositories }}

- run: opam depext --install uri
Expand Down

0 comments on commit efef220

Please sign in to comment.