Skip to content

Commit 7230f98

Browse files
authored
Merge pull request #292 from jmid/update-ci
Update CI to setup-ocaml v3
2 parents 7f872f2 + 03573d7 commit 7230f98

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,30 @@ jobs:
1010
run:
1111
name: Build
1212
strategy:
13+
fail-fast: false
1314
matrix:
1415
os:
1516
- macos-13
1617
- ubuntu-latest
1718
- windows-latest
1819
ocaml-compiler:
19-
- 4.08.x
20-
- 4.12.x
21-
- 4.14.x
22-
- ocaml-base-compiler.5.0.0
20+
- "4.08"
21+
- "4.12"
22+
- "4.14"
23+
- "5.0"
24+
- "5.2"
2325
exclude:
2426
- os: windows-latest
25-
ocaml-compiler: ocaml-base-compiler.5.0.0
27+
ocaml-compiler: "4.08"
28+
- os: windows-latest
29+
ocaml-compiler: "4.12"
2630
runs-on: ${{ matrix.os }}
2731
steps:
2832
- uses: actions/checkout@v4
29-
- uses: ocaml/setup-ocaml@v2
33+
- uses: ocaml/setup-ocaml@v3
3034
with:
3135
ocaml-compiler: ${{ matrix.ocaml-compiler }}
32-
- run: opam pin -n .
33-
- run: opam depext -yt qcheck qcheck-core qcheck-ounit qcheck-alcotest
34-
- run: opam install -t . --deps-only
36+
- run: opam install . --deps-only --with-test
3537
- run: opam exec -- dune build
3638
- run: opam exec -- dune runtest
3739
if: ${{ matrix.os != 'windows-latest'}}

0 commit comments

Comments
 (0)