mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-29 05:49:55 +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:
1 parent
28b48842a8
commit
bcdb2d7ba0
1 file changed
+5
-2
@@ -4,9 +4,12 @@ set -e
|
|||||||
|
|
||||||
echo "*** Initialising WASM build environment"
|
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 target add wasm32-unknown-unknown --toolchain nightly
|
||||||
rustup update stable
|
|
||||||
|
|
||||||
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
||||||
command -v wasm-gc || \
|
command -v wasm-gc || \
|
||||||
|
|||||||
Reference in new issue
Block a user