Skip to content

Commit

Permalink
Merge pull request #292 from jmid/update-ci
Browse files Browse the repository at this point in the history
Update CI to setup-ocaml v3
  • Loading branch information
jmid authored Jul 4, 2024
2 parents 7f872f2 + 03573d7 commit 7230f98
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,30 @@ jobs:
run:
name: Build
strategy:
fail-fast: false
matrix:
os:
- macos-13
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.08.x
- 4.12.x
- 4.14.x
- ocaml-base-compiler.5.0.0
- "4.08"
- "4.12"
- "4.14"
- "5.0"
- "5.2"
exclude:
- os: windows-latest
ocaml-compiler: ocaml-base-compiler.5.0.0
ocaml-compiler: "4.08"
- os: windows-latest
ocaml-compiler: "4.12"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v2
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam pin -n .
- run: opam depext -yt qcheck qcheck-core qcheck-ounit qcheck-alcotest
- run: opam install -t . --deps-only
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest
if: ${{ matrix.os != 'windows-latest'}}

0 comments on commit 7230f98

Please sign in to comment.