mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 05:37:58 +00:00
Do not attempt to rustup if in CI. This is taken care of by the base (#621)
image.
This commit is contained in:
@@ -4,9 +4,12 @@ set -e
|
||||
|
||||
echo "*** Initialising WASM build environment"
|
||||
|
||||
rustup update nightly
|
||||
if [ -z $CI_PROJECT_NAME ] ; then
|
||||
rustup update nightly
|
||||
rustup update stable
|
||||
fi
|
||||
|
||||
rustup target add wasm32-unknown-unknown --toolchain nightly
|
||||
rustup update stable
|
||||
|
||||
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
||||
command -v wasm-gc || \
|
||||
|
||||
Reference in New Issue
Block a user