Skip to content

Commit 0ba5351

Browse files
kit-ty-katehhugo
authored andcommitted
Allow js_of_ocaml-compiler to be installed on OCaml 5.4
1 parent c6a7539 commit 0ba5351

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/js_of_ocaml.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ jobs:
8989
skip-effects: false
9090
skip-test: false
9191
skip-doc: true
92+
- os: ubuntu-latest
93+
os-name: Ubuntu
94+
ocaml-name: "5.4-alpha1"
95+
ocaml-compiler: "ocaml-compiler.5.4.0~alpha1"
96+
skip-effects: true
97+
skip-test: true
98+
skip-doc: true
9299

93100
runs-on: ${{ matrix.os }}
94101

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Features/Changes
44
* Misc: drop support for OCaml 4.12 and bellow
55
* Misc: switch to dune.3.19
6-
* Misc: initial support for ocaml 5.4 (#2030)
6+
* Misc: initial support for ocaml 5.4 (#2030, #2058)
77
* Compiler: support for OCaml 4.14.3+trunk (#1844)
88
* Compiler: add the `--empty-sourcemap` flag
99
* Compiler: improve debug/sourcemap location of closures (#1947)

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
(description
1919
"Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js")
2020
(depends
21-
(ocaml (and (>= 4.13) (< 5.4)))
21+
(ocaml (and (>= 4.13) (< 5.5)))
2222
(num :with-test)
2323
(ppx_expect (and (>= v0.16.1) :with-test))
2424
(ppxlib (>= 0.35))

js_of_ocaml-compiler.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
1313
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
1414
depends: [
1515
"dune" {>= "3.19"}
16-
"ocaml" {>= "4.13" & < "5.4"}
16+
"ocaml" {>= "4.13" & < "5.5"}
1717
"num" {with-test}
1818
"ppx_expect" {>= "v0.16.1" & with-test}
1919
"ppxlib" {>= "0.35"}

0 commit comments

Comments
 (0)