Skip to content

Commit 4e2803a

Browse files
committed
Fix CI
1 parent 140deeb commit 4e2803a

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

benchmarks/dune

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
(:standard -w -58))))
55

66
(executables
7+
(enabled_if
8+
(not %{env:CI=false}))
79
(libraries
810
re
911
core
@@ -17,6 +19,8 @@
1719
(names benchmark))
1820

1921
(executable
22+
(enabled_if
23+
(not %{env:CI=false}))
2024
(name compare)
2125
(modules compare)
2226
(libraries

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 3.12)
1+
(lang dune 3.15)
22

33
(name re)
44

lib_test/expect/dune

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
ppx_expect.config
88
ppx_expect.config_types
99
ppx_expect
10+
ppx_expect_common
1011
base
1112
str
1213
ppx_inline_test.config)
@@ -18,6 +19,18 @@
1819
;; this hackery is needed because ppx_expect itself uses re, therefore we need to mangle
1920
;; the library name
2021

22+
(subdir
23+
ppx_expect_common
24+
(library
25+
(name ppx_expect_common)
26+
(enabled_if
27+
(< %{ocaml_version} 5.0))
28+
(libraries (re_export ppx_expect.common)))
29+
(library
30+
(name ppx_expect_common)
31+
(enabled_if
32+
(>= %{ocaml_version} 5.0))))
33+
2134
(subdir
2235
private_re
2336
(library

re.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
2222
homepage: "https://github.com/ocaml/ocaml-re"
2323
bug-reports: "https://github.com/ocaml/ocaml-re/issues"
2424
depends: [
25-
"dune" {>= "3.12"}
25+
"dune" {>= "3.15"}
2626
"ocaml" {>= "4.12.0"}
2727
"seq"
2828
"ppx_expect" {with-test}

0 commit comments

Comments
 (0)