mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-27 14:42:17 +00:00
Change CI example to use a releaase binary
This commit is contained in:
parent
dcb783741c
commit
17db217fe9
@ -18,7 +18,13 @@ addons:
|
||||
|
||||
install:
|
||||
- rustup target add wasm32-unknown-unknown
|
||||
- cargo install wasm-bindgen-cli
|
||||
# Downloads a `wasm-bindgen` release binary from https://github.com/rustwasm/wasm-bindgen/releases.
|
||||
# Alternatively, use `wasm-pack` to manage `wasm-bindgen` binaries for you
|
||||
- curl -OL https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.21/wasm-bindgen-0.2.21-x86_64-unknown-linux-musl.tar.gz
|
||||
- tar xf wasm-bindgen-0.2.21-x86_64-unknown-linux-musl.tar.gz
|
||||
- chmod +x wasm-bindgen-0.2.21-x86_64-unknown-linux-musl/wasm-bindgen
|
||||
# Moves the binaries to a directory that is in your PATH
|
||||
- mv wasm-bindgen-0.2.19-x86_64-unknown-linux-musl/wasm-bindgen* ~/.cargo/bin
|
||||
# Install node.js with nvm.
|
||||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
|
||||
- source ~/.nvm/nvm.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user