Skip to content

Commit 2cda79e

Browse files
relax ocaml version constraint to 5.1.0
1 parent 5359f7c commit 2cda79e

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
os:
1616
- ubuntu-latest
1717
ocaml-compiler:
18+
- "5.1"
19+
- "5.2"
20+
- "5.3"
1821
- "5.4"
1922
libev:
2023
- true

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ a single thread by default. This reduces the need for locks or other
7676
synchronization primitives. Code can be run in parallel on an opt-in basis.
7777
")
7878
(depends
79-
(ocaml (>= 5.4))
79+
(ocaml (>= 5.1))
8080
domain_shims
8181
(cppo (and :build (>= 1.1)))
8282
(ocamlfind (and :dev (>= 1.7.3-1)))

lwt.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ doc: "https://ocsigen.org/lwt"
2222
bug-reports: "https://github.com/ocsigen/lwt/issues"
2323
depends: [
2424
"dune" {>= "3.15"}
25-
"ocaml" {>= "5.4"}
25+
"ocaml" {>= "5.1"}
2626
"domain_shims"
2727
"cppo" {build & >= "1.1"}
2828
"ocamlfind" {dev & >= "1.7.3-1"}

test/stall_detection/dune

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
(executable
22
(name staller)
3+
(enabled_if (>= %{ocaml_version} 5.4))
34
(libraries lwt lwt.unix))
45

56
(executable
67
(name detector)
8+
(enabled_if (>= %{ocaml_version} 5.4))
79
(libraries lwt lwt.unix runtime_events))
810

911
(executable
1012
(name selfdetector)
13+
(enabled_if (>= %{ocaml_version} 5.4))
1114
(libraries unix lwt lwt.unix runtime_events))

0 commit comments

Comments
 (0)