Skip to content

Commit 5cf6a9b

Browse files
committed
Update to OCaml 5.3
1 parent f1551d5 commit 5cf6a9b

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
fetch-depth: 0
1313

1414
- name: Use OCaml
15-
uses: ocaml/setup-ocaml@v2
15+
uses: ocaml/setup-ocaml@v3
1616
with:
17-
ocaml-compiler: "5.1.1"
17+
ocaml-compiler: "5.3.0"
1818

1919
- name: Install dependencies
2020
run: opam install . --deps-only --with-test
@@ -30,12 +30,8 @@ jobs:
3030
- name: Windows
3131
uses: windows-latest
3232
ocaml:
33-
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-mingw
34-
# Copied from https://github.com/ocaml-multicore/eio/blob/main/.github/workflows/main.yml
33+
ocaml-compiler: "5.3.0"
3534
opam-depext: false
36-
opam-repositories: |
37-
dra27: https://github.com/dra27/opam-repository.git#windows-5.0
38-
normal: https://github.com/ocaml/opam-repository.git
3935
input-file: illuaminate.exe
4036
output-file: illuaminate-windows-x86_64.exe
4137
dune-flags:
@@ -44,15 +40,15 @@ jobs:
4440
uses: ubuntu-latest
4541
# We don't use flambda as that ends up much buliker than without.
4642
ocaml:
47-
ocaml-compiler: ocaml-variants.5.1.1+options,ocaml-option-static
43+
ocaml-compiler: ocaml-variants.5.3.0+options,ocaml-option-static
4844
input-file: illuaminate
4945
output-file: illuaminate-linux-x86_64
5046
dune-flags: --workspace dune-workspace.release
5147

5248
- name: macOS
5349
uses: macos-latest
5450
ocaml:
55-
ocaml-compiler: "5.1.1"
51+
ocaml-compiler: "5.3.0"
5652
input-file: illuaminate
5753
output-file: illuaminate-macos-x86_64
5854
dune-flags:
@@ -73,7 +69,7 @@ jobs:
7369
if: "matrix.name == 'Linux'"
7470

7571
- name: Use OCaml
76-
uses: ocaml/setup-ocaml@v2
72+
uses: ocaml/setup-ocaml@v3
7773
with: ${{ matrix.ocaml }}
7874

7975
- name: Install dependencies

dune-project

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 3.7)
1+
(lang dune 3.17)
22
(using menhir 2.1)
33
(implicit_transitive_deps false)
44
(generate_opam_files true)
@@ -15,10 +15,9 @@
1515
(synopsis "Source code analysis for Lua")
1616
(description "Provides various tools for parsing, processing and producing Lua source code. Currently does very little, but will hopefully grow in the future.")
1717
(depends
18-
(ocaml (>= 5.1))
18+
(ocaml (>= 5.3))
1919

2020
;; Build-time
21-
(dune (>= 3.1))
2221
(js_of_ocaml-compiler (and :build (>= 4.0.0)))
2322
(js_of_ocaml-ppx :build)
2423
(ppx_deriving :build)

illuaminate.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ license: "BSD-3-Clause"
1010
homepage: "https://github.com/squiddev/illuaminate"
1111
bug-reports: "https://github.com/squiddev/illuaminate/issues"
1212
depends: [
13-
"ocaml" {>= "5.1"}
14-
"dune" {>= "3.7" & >= "3.1"}
13+
"dune" {>= "3.17"}
14+
"ocaml" {>= "5.3"}
1515
"js_of_ocaml-compiler" {build & >= "4.0.0"}
1616
"js_of_ocaml-ppx" {build}
1717
"ppx_deriving" {build}

0 commit comments

Comments
 (0)