@@ -47,32 +47,19 @@ jobs:
47
47
matrix :
48
48
job :
49
49
- { os: macos-11 , ocaml-version: 4.14.0 }
50
- - { os: macos-10.15 , ocaml-version: 4.14.0 , publish: true }
51
- - { os: macos-10.15 , ocaml-version: 4.13.1 , publish: true }
52
- - { os: macos-10.15 , ocaml-version: 4.12.1 , publish: true }
53
- - { os: macos-10.15 , ocaml-version: 4.11.2 , publish: true }
54
- - { os: macos-10.15 , ocaml-version: 4.10.2 , publish: true }
55
- - { os: macos-10.15 , ocaml-version: 4.09.1 , publish: true }
56
- - { os: macos-10.15 , ocaml-version: 4.08.1 , publish: true }
50
+ - { os: macos-10.15 , ocaml-version: 4.14.0 , publish: true }
57
51
- { os: ubuntu-22.04 , ocaml-version: 4.14.0 }
58
52
- { os: ubuntu-20.04 , ocaml-version: 4.14.0 }
59
- - { os: ubuntu-18.04 , ocaml-version: 4.14.0 , publish: true }
60
- - { os: ubuntu-18.04 , ocaml-version: 4.13.1 , publish: true }
61
- - { os: ubuntu-18.04 , ocaml-version: 4.12.1 , publish: true }
62
- - { os: ubuntu-18.04 , ocaml-version: 4.11.2 , publish: true }
63
- - { os: ubuntu-18.04 , ocaml-version: 4.10.2 , publish: true }
53
+ - { os: ubuntu-18.04 , ocaml-version: 4.14.0 , publish: true }
54
+ - { os: ubuntu-18.04 , ocaml-version: 4.13.1 }
55
+ - { os: ubuntu-18.04 , ocaml-version: 4.12.1 }
56
+ - { os: ubuntu-18.04 , ocaml-version: 4.11.2 }
57
+ - { os: ubuntu-18.04 , ocaml-version: 4.10.2 }
64
58
- { os: ubuntu-18.04 , ocaml-version: 4.10.2+musl+static+flambda , publish: true }
65
- - { os: ubuntu-18.04 , ocaml-version: 4.09.1 , publish: true }
66
- - { os: ubuntu-18.04 , ocaml-version: 4.08.1 , publish: true }
67
- - { os: windows-2022 , ocaml-version: 4.14.0+mingw64c }
68
- - { os: windows-2019 , ocaml-version: 4.14.0+mingw64c , publish: true }
69
- - { os: windows-2019 , ocaml-version: 4.13.1+mingw64c , publish: true }
70
- - { os: windows-2019 , ocaml-version: 4.12.1+mingw64c , publish: true }
71
- - { os: windows-2019 , ocaml-version: 4.11.2+mingw64c , publish: true }
72
- - { os: windows-2019 , ocaml-version: 4.10.2+mingw64c , publish: true }
73
- - { os: windows-2019 , ocaml-version: 4.10.2+mingw32c , publish: true }
74
- - { os: windows-2019 , ocaml-version: 4.09.1+mingw64c , publish: true }
75
- - { os: windows-2019 , ocaml-version: 4.08.1+mingw64c , publish: true }
59
+ - { os: ubuntu-18.04 , ocaml-version: 4.09.1 }
60
+ - { os: ubuntu-18.04 , ocaml-version: 4.08.1 , publish: true }
61
+ - { os: windows-2022 , ocaml-version: 4.14.0+mingw64c , publish: true }
62
+ - { os: windows-2019 , ocaml-version: 4.14.0+mingw32c , publish: true }
76
63
77
64
runs-on : ${{ matrix.job.os }}
78
65
@@ -200,6 +187,9 @@ jobs:
200
187
201
188
- run : opam exec -- make test
202
189
190
+ # # There is still code to run tests with old ocaml on Windows.
191
+ # # That remains intentionally so that someone could turn it on if
192
+ # # desired.
203
193
- name : Run self-tests over RPC
204
194
if : runner.os == 'Windows' && !contains(matrix.job.ocaml-version, '4.14')
205
195
shell : bash
@@ -368,22 +358,19 @@ jobs:
368
358
strategy :
369
359
fail-fast : false
370
360
matrix :
361
+ # This list is intended to balance good enough coverage and
362
+ # limited resource usage.
371
363
job :
372
364
- { os: ubuntu-18.04 , ocaml-version: 4.14.x , ref: v2.52.1 }
373
- - { os: ubuntu-18.04 , ocaml-version: 4.14.x , ref: v2.52.0 }
374
365
- { os: ubuntu-18.04 , ocaml-version: 4.14.x , ref: v2.51.5 }
375
366
- { os: ubuntu-18.04 , ocaml-version: 4.08.x , ref: v2.51.5 }
376
367
- { os: ubuntu-18.04 , ocaml-version: 4.08.x , ref: v2.51.2 }
377
368
- { os: ubuntu-18.04 , ocaml-version: 4.08.x , ref: 2.48.4 }
378
369
- { os: windows-2019 , ocaml-version: ocaml-variants.4.14.0+mingw64c , ref: v2.52.1 }
379
- - { os: windows-2019 , ocaml-version: ocaml-variants.4.14.0+mingw64c , ref: v2.52.0 }
380
- - { os: windows-2019 , ocaml-version: ocaml-variants.4.14.0+mingw64c , ref: v2.51.5 }
381
370
- { os: windows-2019 , ocaml-version: ocaml-variants.4.08.1+mingw32c , ref: v2.51.5 }
382
371
- { os: windows-2019 , ocaml-version: ocaml-variants.4.08.1+mingw64c , ref: v2.51.2 }
383
372
- { os: windows-2019 , ocaml-version: ocaml-variants.4.08.1+mingw64c , ref: 2.48.4 }
384
373
- { os: macos-11 , ocaml-version: 4.14.x , ref: v2.52.1 }
385
- - { os: macos-11 , ocaml-version: 4.14.x , ref: v2.52.0 }
386
- - { os: macos-11 , ocaml-version: 4.14.x , ref: v2.51.5 }
387
374
- { os: macos-10.15 , ocaml-version: 4.08.x , ref: v2.51.5 }
388
375
- { os: macos-10.15 , ocaml-version: 4.08.x , ref: v2.51.2 }
389
376
- { os: macos-10.15 , ocaml-version: 4.08.x , ref: 2.48.4 }
@@ -1041,16 +1028,17 @@ jobs:
1041
1028
_prev/src/unison -ui text -selftest testr_c socket://127.0.0.1:55443/testr_s -killserver
1042
1029
1043
1030
1031
+ # # We know the code is ok with various ocaml versions, so this is
1032
+ # # just checking the dune build process. Therefore build each OS
1033
+ # # family just once. Pick a different ocaml version because that's
1034
+ # # better coverage without adding a build.
1044
1035
opam_dune_build :
1045
1036
strategy :
1046
1037
fail-fast : false
1047
1038
matrix :
1048
1039
job :
1049
- - { os: ubuntu-18.04 , ocaml-compiler: 4.11.x }
1050
- - { os: ubuntu-20.04 , ocaml-compiler: 4.12.x }
1051
1040
- { os: ubuntu-22.04 , ocaml-compiler: 4.12.x }
1052
- - { os: macos-10.15 , ocaml-compiler: 4.11.x }
1053
- - { os: macos-11 , ocaml-compiler: 4.12.x }
1041
+ - { os: macos-11 , ocaml-compiler: 4.11.x }
1054
1042
1055
1043
runs-on : ${{ matrix.job.os }}
1056
1044
0 commit comments