Skip to content

Commit 3922f41

Browse files
authored
Merge pull request #146 from mbarbin/cmdliner-2.0-compat
OCaml 5.4 CI & cmdliner 2.0 compat
2 parents ef60e42 + c70f699 commit 3922f41

File tree

8 files changed

+30
-20
lines changed

8 files changed

+30
-20
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os:
2020
- ubuntu-latest
2121
ocaml-version:
22-
- "5.3"
22+
- "5.4"
2323

2424
runs-on: ${{ matrix.os }}
2525

.github/workflows/deploy-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Build Docusaurus
1616
runs-on: ubuntu-latest
1717
env:
18-
OCAML_VERSION: "5.3"
18+
OCAML_VERSION: "5.4"
1919
defaults:
2020
run:
2121
shell: bash

.github/workflows/dune-pkg-more-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
- ubuntu-latest
2626
- macos-latest
2727
ocaml-version:
28+
- "5.4"
2829
- "5.3"
2930
- "5.2"
3031
- "4.14"
3132
exclude:
3233
# Exclude the combination already tested in the main ci workflow.
3334
- os: ubuntu-latest
34-
ocaml-version: "5.3"
35+
ocaml-version: "5.4"
3536

3637
runs-on: ${{ matrix.os }}
3738

.github/workflows/test-deploy-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Test deployment
1616
runs-on: ubuntu-latest
1717
env:
18-
OCAML_VERSION: "5.3"
18+
OCAML_VERSION: "5.4"
1919
defaults:
2020
run:
2121
shell: bash

dune-project

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -297,19 +297,15 @@
297297
(synopsis "Tests & Examples for volgo")
298298
(depends
299299
(ocaml
300-
(and
301-
(>= 5.2)
302-
(< 5.4~)))
300+
(>= 5.2))
303301
(bitv
304302
(>= 2.1))
305303
(cmdlang
306304
(>= 0.0.9))
307305
(cmdlang-cmdliner-err-runner
308306
(>= 0.0.16))
309307
(cmdliner
310-
(and
311-
(>= 1.3.0)
312-
(< 2.0)))
308+
(>= 1.3.0))
313309
conf-git
314310
conf-hg
315311
(eio
@@ -393,17 +389,13 @@
393389
(allow_empty)
394390
(depends
395391
(ocaml
396-
(and
397-
(>= 5.3)
398-
(< 5.4~)))
392+
(>= 5.3))
399393
(ocamlformat
400394
(= 0.29.0))
401395
(bisect_ppx
402396
(>= 2.8.3))
403397
(cmdliner
404-
(and
405-
(>= 1.3.0)
406-
(< 2.0)))
398+
(>= 1.3.0))
407399
conf-git
408400
conf-hg
409401
(mdx

dune-workspace-5.4

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
(lang dune 3.20)
2+
3+
(pkg enabled)
4+
5+
(lock_dir
6+
(repositories overlay upstream alpha mbarbin)
7+
(constraints
8+
(ocaml
9+
(= 5.4.1))))
10+
11+
(repository
12+
(name mbarbin)
13+
(url "git+https://github.com/mbarbin/opam-repository.git"))
14+
15+
(repository
16+
(name alpha)
17+
(url "git+https://github.com/kit-ty-kate/opam-alpha-repository.git"))

volgo-dev.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ doc: "https://mbarbin.github.io/vcs/"
99
bug-reports: "https://github.com/mbarbin/vcs/issues"
1010
depends: [
1111
"dune" {>= "3.17"}
12-
"ocaml" {>= "5.3" & < "5.4~"}
12+
"ocaml" {>= "5.3"}
1313
"ocamlformat" {= "0.29.0"}
1414
"bisect_ppx" {>= "2.8.3"}
15-
"cmdliner" {>= "1.3.0" & < "2.0"}
15+
"cmdliner" {>= "1.3.0"}
1616
"conf-git"
1717
"conf-hg"
1818
"mdx" {>= "2.4"}

volgo-tests.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ doc: "https://mbarbin.github.io/vcs/"
99
bug-reports: "https://github.com/mbarbin/vcs/issues"
1010
depends: [
1111
"dune" {>= "3.17"}
12-
"ocaml" {>= "5.2" & < "5.4~"}
12+
"ocaml" {>= "5.2"}
1313
"bitv" {>= "2.1"}
1414
"cmdlang" {>= "0.0.9"}
1515
"cmdlang-cmdliner-err-runner" {>= "0.0.16"}
16-
"cmdliner" {>= "1.3.0" & < "2.0"}
16+
"cmdliner" {>= "1.3.0"}
1717
"conf-git"
1818
"conf-hg"
1919
"eio" {>= "1.0"}

0 commit comments

Comments
 (0)