Skip to content

Commit 1c89998

Browse files
committed
Remove support for OCaml < 4.08
1 parent 7db4793 commit 1c89998

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

.github/workflows/build.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,23 @@ jobs:
1212
os:
1313
- ubuntu-latest
1414
ocaml-compiler:
15-
- "4.02"
16-
- "4.04"
17-
- "4.06"
1815
- "4.08"
1916
- "4.10"
2017
- "4.12"
2118
- "4.14"
2219
- "5.0"
2320
- "5.2"
21+
- "5.3"
2422
include:
2523
- os: ubuntu-latest
26-
ocaml-compiler: "5.2"
24+
ocaml-compiler: "5.3"
2725
# We don't need to compute coverage for more than one build
2826
send-coverage: true
2927
# Mdx tests Mdx tests
3028
run-mdx: true
3129
test-sherlodoc: true
3230
- os: macos-latest
33-
ocaml-compiler: "5.2"
31+
ocaml-compiler: "5.3"
3432
# - os: windows-latest
3533
# ocaml-compiler: "5.2"
3634

odoc-parser.opam

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ doc: "https://ocaml.github.io/odoc/odoc_parser"
1515
flags: [ avoid-version ]
1616
depends: [
1717
"dune" {>= "3.7"}
18-
"ocaml" {>= "4.02.0" & < "5.4"}
18+
"ocaml" {>= "4.08.0" & < "5.4"}
1919
"astring"
2020
"result"
2121
"camlp-streams"
2222
"ppx_expect" {with-test}
23-
("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test})
23+
"sexplib0" {with-test}
2424
]
2525
build: [
2626
["dune" "subst"] {dev}

odoc.opam

+4-6
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,19 @@ depends: [
4646
"cppo" {build & >= "1.1.0"}
4747
"dune" {>= "3.7.0"}
4848
"fpath"
49-
"ocaml" {>= "4.02.0" & < "5.4"}
49+
"ocaml" {>= "4.08.0" & < "5.4"}
5050
"result"
5151
"tyxml" {>= "4.4.0"}
5252
"fmt"
53+
"crunch" {>= "1.4.1"}
5354

5455
"ocamlfind" {with-test}
5556
"yojson" {>= "2.1.0" & with-test}
56-
("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test})
57+
"sexplib0" {with-test}
5758
"conf-jq" {with-test}
58-
5959
"ppx_expect" {with-test}
6060
"bos" {with-test}
61-
"crunch" {>= "1.4.1"}
62-
63-
("ocaml" {< "4.07.0" & with-test} | "bisect_ppx" {with-test & > "2.5.0"})
61+
"bisect_ppx" {with-test & > "2.5.0"}
6462
]
6563

6664
conflicts: [ "ocaml-option-bytecode-only" ]

0 commit comments

Comments
 (0)