Skip to content

Commit

Permalink
CI updates for separate compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Apr 2, 2024
1 parent 329a8f5 commit 96621d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:

- name: Pin dune
run: |
opam pin add -n dune.3.13 https://github.com/ocaml-wasm/dune.git#wasm
opam pin add -n dune.3.13 https://github.com/ocaml-wasm/dune.git#wasm-separate-compilation
- name: Pin wasm_of_ocaml
working-directory: ./wasm_of_ocaml
Expand Down
2 changes: 2 additions & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
(wasm
(binaries (tools/node_wrapper.sh as node))
(js_of_ocaml
(compilation_mode separate)
(targets wasm)))
(wasm-effects
(binaries (tools/node_wrapper.sh as node))
(js_of_ocaml
(compilation_mode separate)
(flags
(:standard --enable effects))
(targets wasm)))
Expand Down
2 changes: 1 addition & 1 deletion tools/ci_setup.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let omitted_others = StringSet.of_list [ "cohttp-async"; "cohttp"; "uri"; "uri-s

let omitted_js = StringSet.of_list [ "sexplib0" ]

let do_not_pin = StringSet.of_list [ "wasocaml"; "wasm_of_ocaml" ]
let do_not_pin = StringSet.of_list [ "wasocaml"; "wasm_of_ocaml"; "dune" ]

let do_pin = StringSet.of_list [ "base"; "ppx_expect"; "ppx_inline_test"; "time_now" ]

Expand Down

0 comments on commit 96621d6

Please sign in to comment.