Skip to content

Commit 068c790

Browse files
committed
[ci] Update CI for 1.x branch
This is a 1.x version of Gabriel's #101 for main.
1 parent ff74500 commit 068c790

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/build-and-test.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os:
15-
- ubuntu-latest
16-
# - macos-latest
17-
# - windows-latest
14+
os: [ubuntu-latest]
1815
ocaml-compiler:
1916
- 4.05.x
2017
- 4.06.x
@@ -29,21 +26,28 @@ jobs:
2926
- 5.0.x
3027
- 5.1.x
3128
- 5.2.x
29+
- 5.3.x
30+
- 5.4.x
31+
include:
32+
- os: macos-latest
33+
ocaml-compiler: 4.14.x
34+
- os: macos-latest
35+
ocaml-compiler: 5.4.x
36+
- os: windows-latest
37+
ocaml-compiler: 4.14.x
38+
- os: windows-latest
39+
ocaml-compiler: 5.4.x
3240

3341
runs-on: ${{ matrix.os }}
3442

3543
steps:
3644
- name: Checkout code
37-
uses: actions/checkout@v2
45+
uses: actions/checkout@v5
3846

3947
- name: Use OCaml ${{ matrix.ocaml-compiler }}
40-
uses: ocaml/setup-ocaml@v2
48+
uses: ocaml/setup-ocaml@v3
4149
with:
4250
ocaml-compiler: ${{ matrix.ocaml-compiler }}
43-
dune-cache: ${{ matrix.os != 'macos-latest' }}
44-
opam-repositories: |
45-
default: https://github.com/ocaml/opam-repository.git
46-
beta: https://github.com/ocaml/ocaml-beta-repository.git
4751

4852
- name: Install opam packages
4953
run: opam install . --deps-only --yes --with-test

0 commit comments

Comments
 (0)