Skip to content

Commit 48982f4

Browse files
committed
[ci] Forward port CI changes from v1.x branch (#102)
1 parent e7ff301 commit 48982f4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@ 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.14.x
2017
- 5.0.x
2118
- 5.1.x
2219
- 5.2.x
2320
- 5.3.x
2421
- 5.4.x
22+
include:
23+
- os: macos-latest
24+
ocaml-compiler: 4.14.x
25+
- os: macos-latest
26+
ocaml-compiler: 5.4.x
27+
- os: windows-latest
28+
ocaml-compiler: 4.14.x
29+
- os: windows-latest
30+
ocaml-compiler: 5.4.x
2531

2632
runs-on: ${{ matrix.os }}
2733

@@ -33,10 +39,6 @@ jobs:
3339
uses: ocaml/setup-ocaml@v3
3440
with:
3541
ocaml-compiler: ${{ matrix.ocaml-compiler }}
36-
dune-cache: ${{ matrix.os != 'macos-latest' }}
37-
opam-repositories: |
38-
default: https://github.com/ocaml/opam-repository.git
39-
beta: https://github.com/ocaml/ocaml-beta-repository.git
4042

4143
- name: Install opam packages
4244
run: opam install . --deps-only --yes --with-test

0 commit comments

Comments
 (0)