mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
567122fab5
* Make runtime macros work without required `macro_use` * Adds node-template * Adds node-template-release tool * Fixes building `node-template` and improve the release * Add `profile.release` by release script to remove warning * Adds script for releasing the node template * Fixes compilation after master merge * Port node-template to edition 2018 * Remove license * Fixes compilation after master merge * Add `node-template-release.sh` into the CI * WIP Ci integrate node template (#1701) * copy artifacts to s3 bucket latest path * typo * bucket name * Update wasm files
17 lines
402 B
Bash
Executable File
17 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "*** Initialising WASM build environment"
|
|
|
|
if [ -z $CI_PROJECT_NAME ] ; then
|
|
rustup update nightly
|
|
rustup update stable
|
|
fi
|
|
|
|
rustup target add wasm32-unknown-unknown --toolchain nightly
|
|
|
|
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
|
command -v wasm-gc || \
|
|
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
|