Skip to content

Commit f7473bc

Browse files
committed
test ocaml 5.4
1 parent acb19fd commit f7473bc

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

.github/workflows/ci.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
open Lib
1515

1616
let latest_ocaml4 = "4.14.2"
17-
let latest_ocaml5 = "5.3.0" (* Add this number to ocamls below when the next version comes out *)
17+
let latest_ocaml5 = "5.4.0-beta2" (* Add this number to ocamls below when the next version comes out *)
1818
let ocamls = [
1919
(* Fully supported versions *)
2020
"4.08.1"; "4.09.1"; "4.10.2"; "4.11.2"; "4.12.1"; "4.13.1";
21-
"5.0.0"; "5.1.1"; "5.2.1";
21+
"5.0.0"; "5.1.1"; "5.2.1"; "5.3.0";
2222

2323
(* The last elements of the list after 4.14 will be used as default versions *)
2424
latest_ocaml4; latest_ocaml5;
@@ -315,7 +315,7 @@ let main_build_job ~analyse_job ~cygwin_job ?section runner start_version ~oc ~w
315315
"x86_64-pc-windows"
316316
] in
317317
let ocaml5 = [
318-
(* "x86_64-pc-cygwin"; *) (* TODO: Restore Cygwin + OCaml 5.3 when C++ support is fixed and released *)
318+
"x86_64-pc-cygwin";
319319
"x86_64-w64-mingw32";
320320
"x86_64-pc-windows";
321321
] in

.github/workflows/main.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
needs: Analyse
107107
strategy:
108108
matrix:
109-
ocamlv: [ 4.08.1, 4.09.1, 4.10.2, 4.11.2, 4.12.1, 4.13.1, 5.0.0, 5.1.1, 5.2.1, 4.14.2, 5.3.0 ]
109+
ocamlv: [ 4.08.1, 4.09.1, 4.10.2, 4.11.2, 4.12.1, 4.13.1, 5.0.0, 5.1.1, 5.2.1, 5.3.0, 4.14.2, 5.4.0-beta2 ]
110110
fail-fast: true
111111
steps:
112112
- name: Install bubblewrap
@@ -159,12 +159,15 @@ jobs:
159159
- host: x86_64-pc-windows
160160
build: x86_64-pc-cygwin
161161
ocamlv: 4.14.2
162+
- host: x86_64-pc-cygwin
163+
build: x86_64-pc-cygwin
164+
ocamlv: 5.4.0-beta2
162165
- host: x86_64-w64-mingw32
163166
build: x86_64-pc-cygwin
164-
ocamlv: 5.3.0
167+
ocamlv: 5.4.0-beta2
165168
- host: x86_64-pc-windows
166169
build: x86_64-pc-cygwin
167-
ocamlv: 5.3.0
170+
ocamlv: 5.4.0-beta2
168171
fail-fast: false
169172
defaults:
170173
run:
@@ -250,7 +253,7 @@ jobs:
250253
needs: Analyse
251254
strategy:
252255
matrix:
253-
ocamlv: [ 4.14.2, 5.3.0 ]
256+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
254257
fail-fast: true
255258
steps:
256259
- name: Install GNU patch
@@ -288,7 +291,7 @@ jobs:
288291
needs: [ Analyse, Build-Linux ]
289292
strategy:
290293
matrix:
291-
ocamlv: [ 4.14.2, 5.3.0 ]
294+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
292295
fail-fast: false
293296
env:
294297
OPAM_TEST: 1
@@ -345,7 +348,7 @@ jobs:
345348
needs: Analyse
346349
strategy:
347350
matrix:
348-
ocamlv: [ 4.14.2, 5.3.0 ]
351+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
349352
fail-fast: false
350353
env:
351354
OPAM_TEST: 1
@@ -434,7 +437,7 @@ jobs:
434437
needs: [ Analyse, Build-Linux ]
435438
strategy:
436439
matrix:
437-
ocamlv: [ 4.14.2, 5.3.0 ]
440+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
438441
fail-fast: false
439442
env:
440443
OPAM_DOC: 1
@@ -491,7 +494,7 @@ jobs:
491494
strategy:
492495
matrix:
493496
solver: [ z3, 0install ]
494-
ocamlv: [ 4.14.2, 5.3.0 ]
497+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
495498
fail-fast: false
496499
env:
497500
SOLVER: ${{ matrix.solver }}
@@ -541,7 +544,7 @@ jobs:
541544
strategy:
542545
matrix:
543546
solver: [ z3, 0install ]
544-
ocamlv: [ 4.14.2, 5.3.0 ]
547+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
545548
fail-fast: false
546549
env:
547550
SOLVER: ${{ matrix.solver }}
@@ -589,7 +592,7 @@ jobs:
589592
needs: [ Analyse, Build-Linux ]
590593
strategy:
591594
matrix:
592-
ocamlv: [ 4.14.2, 5.3.0 ]
595+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
593596
fail-fast: false
594597
steps:
595598
- name: Install bubblewrap
@@ -624,7 +627,7 @@ jobs:
624627
needs: [ Analyse, Build-macOS ]
625628
strategy:
626629
matrix:
627-
ocamlv: [ 4.14.2, 5.3.0 ]
630+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
628631
fail-fast: false
629632
steps:
630633
- name: Checkout tree
@@ -694,7 +697,7 @@ jobs:
694697
needs: [ Analyse, Build-Linux ]
695698
strategy:
696699
matrix:
697-
ocamlv: [ 4.14.2, 5.3.0 ]
700+
ocamlv: [ 4.14.2, 5.4.0-beta2 ]
698701
fail-fast: false
699702
env:
700703
OPAM_DEPENDS: 1

0 commit comments

Comments
 (0)