From 7d52729193be7854adcfc93b356a88d8f974a632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vouillon?= Date: Wed, 3 Jul 2024 13:55:10 +0200 Subject: [PATCH] TEST: updated dune support --- .github/workflows/build-wasm_of_ocaml.yml | 2 +- dune | 4 ++-- tools/ci_setup.ml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wasm_of_ocaml.yml b/.github/workflows/build-wasm_of_ocaml.yml index a069805e5..f60ec6440 100644 --- a/.github/workflows/build-wasm_of_ocaml.yml +++ b/.github/workflows/build-wasm_of_ocaml.yml @@ -123,7 +123,7 @@ jobs: - name: Pin dune run: | - opam pin add -n dune.3.13 https://github.com/ocaml-wasm/dune.git#wasm-separate-compilation-v2 + opam pin add -n dune.3.13 https://github.com/ocaml-wasm/dune.git#wasm_of_ocaml-incremental - name: Pin wasm_of_ocaml working-directory: ./wasm_of_ocaml diff --git a/dune b/dune index 1ea17bb72..cb16ed581 100644 --- a/dune +++ b/dune @@ -14,7 +14,7 @@ (tools/node_wrapper.sh as node)) (js_of_ocaml (compilation_mode separate) - (targets wasm))) + (submodes wasm))) (wasm-effects (binaries (tools/node_wrapper.sh as node)) @@ -22,7 +22,7 @@ (compilation_mode separate) (flags (:standard --enable effects)) - (targets wasm))) + (submodes wasm))) (bench_no_debug (flags (:standard \ -g)) diff --git a/tools/ci_setup.ml b/tools/ci_setup.ml index 5b15026e7..773664aa2 100644 --- a/tools/ci_setup.ml +++ b/tools/ci_setup.ml @@ -29,7 +29,7 @@ let dune_workspace = (env (_ (env-vars (TESTING_FRAMEWORK inline-test)) - (js_of_ocaml (targets wasm)) + (js_of_ocaml (submodes wasm)) (flags :standard -warn-error -8-32-34-49-52-55 -w -67-69))) |}