Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: dune alias for js and wasm #1760

Merged
merged 4 commits into from
Dec 9, 2024
Merged

Build: dune alias for js and wasm #1760

merged 4 commits into from
Dec 9, 2024

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Dec 5, 2024

This PR allows to run js and wasm tests concurrently instead of relying on separate profiles.
This brings back useful profiles to just: dev, release, with-effects

We have separate aliases to run js (runtest-js) and wasm (runtest-wasm) tests.

The wasm build is now conditioned on the env variable WASM_OF_OCAML=true because some of the wasm deps are a bit annoying to get right for the moment (some wasm target would be included in the @all alias).

@hhugo hhugo requested a review from vouillon December 9, 2024 11:30
@hhugo hhugo marked this pull request as ready for review December 9, 2024 11:30
@hhugo
Copy link
Member Author

hhugo commented Dec 9, 2024

@vouillon, how do you feel about this setup ?

@hhugo hhugo added this to the 6.0 milestone Dec 9, 2024
Copy link
Member

@vouillon vouillon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty good. Here are a few comments.

.github/workflows/build.yml Show resolved Hide resolved
examples/boulderdash/index-wasm.html Outdated Show resolved Hide resolved
.github/workflows/build-wasm_of_ocaml.yml Outdated Show resolved Hide resolved
compiler/tests-io/dune Show resolved Hide resolved
@vouillon vouillon self-requested a review December 9, 2024 15:16
@hhugo hhugo merged commit c0f9035 into master Dec 9, 2024
27 checks passed
@hhugo hhugo deleted the dune-alias branch December 9, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants