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

Don't install wasm-opt in CI #3366

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

Liamolucko
Copy link
Collaborator

This is a workaround for rustwasm/wasm-pack#1247, which causes wasm-pack to fail to run if a local version of wasm-opt is installed. That in turn caused the build_examples CI job to break.

This PR fixes that by not having it download binaryen, instead letting wasm-pack install it itself, which still works.

This is a workaround for rustwasm/wasm-pack#1247, which causes `wasm-pack` to fail to run if a local version of `wasm-opt` is installed. That in turn caused the `build_examples` CI job to break.

This PR fixes that by not having it download binaryen, instead letting `wasm-pack` install it itself, which still works.
@Liamolucko
Copy link
Collaborator Author

Turns out binaryen was being installed for wasm2js, not wasm-opt. I'll see if there's a way to install just that binary instead of the whole thing.

…ad of the whole thing.

I also updated to binaryen 112 while I was at it.
@Liamolucko Liamolucko changed the title Don't install binaryen in CI Don't install wasm-opt in CI Mar 24, 2023
@alexcrichton alexcrichton merged commit 2a28cfb into rustwasm:main Mar 24, 2023
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