mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 06:33:33 +03:00
4aa6793b9e
Right now Webpack probably has the most mature support for loading wasm modules, so let's show off how to do that! Additionally this commits hello world as an example to the repository.
24 lines
435 B
YAML
24 lines
435 B
YAML
language: rust
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- rust: nightly
|
|
|
|
install:
|
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
|
- source ~/.nvm/nvm.sh
|
|
- nvm install 9
|
|
- yarn
|
|
|
|
script:
|
|
- rustup target add wasm32-unknown-unknown
|
|
- cargo test
|
|
- cargo install --debug --path crates/wasm-bindgen-cli
|
|
- (cd examples/hello_world && ./build.sh)
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
|