Skip to content
Snippets Groups Projects
Commit bcdb2d7b authored by ddorgan's avatar ddorgan Committed by Gav Wood
Browse files

Do not attempt to rustup if in CI. This is taken care of by the base (#621)

image.
parent 28b48842
No related merge requests found
......@@ -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 || \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment