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

compile WebAssembly in CI #486

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

compile WebAssembly in CI #486

wants to merge 5 commits into from

Conversation

tombl
Copy link

@tombl tombl commented Sep 7, 2024

The current wasm build is broken because it's untested in CI. This PR fixes the issue and adds a wasm build.

(I can back out any changes if unwanted, but I'm hoping to follow up this PR with one to automate releases and add npm publishing.)

@tombl
Copy link
Author

tombl commented Sep 7, 2024

although now that I look at it, build_wasm.ts probably needs resyncing with https://github.com/nodejs/undici/blob/main/build/wasm.js.

given the prior dependency on docker, and the existence of
mingw/git bash, this doesn't change platform requirements.
@ShogunPanda
Copy link
Contributor

@tombl In general it looks good me. The only thing I don't like is having bash scripts, which are harder to debug.
Can you please sync the undici build script with build_wasm.ts? (if you feel more comfortable, you can also change it to be build_wasm.js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants