Skip to content

Commit

Permalink
Use setup-ocaml@v3 and drop Windows sunset repo
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Sep 5, 2024
1 parent 18ee3d4 commit d92c8b7
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,10 @@ jobs:
with:
submodules: recursive

- uses: ocaml/setup-ocaml@v2
if: runner.os != 'Windows'
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml }}

- uses: ocaml/setup-ocaml@v2
if: runner.os == 'Windows'
with:
ocaml-compiler: ${{ matrix.ocaml }}
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git
- run: opam install -y --deps-only .
- run: opam exec -- dune build -p luv

Expand All @@ -49,7 +40,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ocaml/setup-ocaml@v2
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.x
- run: opam install -y --deps-only .
Expand Down

0 comments on commit d92c8b7

Please sign in to comment.