From a05e05ac5183740de3617bf200f62a20111fd19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vouillon?= Date: Mon, 2 Dec 2024 23:47:51 +0100 Subject: [PATCH] CI: test OCaml 5.3 --- .github/workflows/build-wasm_of_ocaml.yml | 2 +- ppx/ppx_js/tests/dune | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wasm_of_ocaml.yml b/.github/workflows/build-wasm_of_ocaml.yml index 61d7616e7..840b35bb7 100644 --- a/.github/workflows/build-wasm_of_ocaml.yml +++ b/.github/workflows/build-wasm_of_ocaml.yml @@ -20,7 +20,7 @@ jobs: - 5.00.x - 5.01.x - 5.02.x - - 5.3.0~beta2 + - ocaml-compiler.5.3.0~beta2 separate_compilation: - true include: diff --git a/ppx/ppx_js/tests/dune b/ppx/ppx_js/tests/dune index 6cc1f5456..2820801e7 100644 --- a/ppx/ppx_js/tests/dune +++ b/ppx/ppx_js/tests/dune @@ -7,7 +7,9 @@ (rule (targets ppx.mlt.corrected) (enabled_if - (>= %{ocaml_version} 5.2)) + (and + (>= %{ocaml_version} 5.2) + (< %{ocaml_version} 5.3))) (action (run %{exe:main.bc} %{dep:ppx.mlt}))) @@ -15,6 +17,8 @@ (alias runtest) (package js_of_ocaml-ppx) (enabled_if - (>= %{ocaml_version} 5.2)) + (and + (>= %{ocaml_version} 5.2) + (< %{ocaml_version} 5.3))) (action (diff ppx.mlt ppx.mlt.corrected)))