@@ -20,7 +20,7 @@ rm -rf ./build ./pkg
|
||||
|
||||
# build new via nightly & wasm-pack
|
||||
echo "*** Building WASM output"
|
||||
rustup run nightly-2020-05-15 wasm-pack build --release --scope polkadot --target nodejs
|
||||
rustup run nightly$NIGHTLY wasm-pack build --release --scope polkadot --target nodejs
|
||||
mv pkg build
|
||||
|
||||
# optimise
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly-2020-05-15
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
yarn polkadot-ci-ghact-build
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly-2020-05-15
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
./scripts/install-build-deps.sh
|
||||
|
||||
echo "*** Building packages"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly-2020-05-15
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
|
||||
cd packages
|
||||
|
||||
@@ -16,7 +16,7 @@ for PKG in "${PACKAGES[@]}"; do
|
||||
cd $PKG
|
||||
echo "*** Testing Rust $PKG"
|
||||
|
||||
RUST_BACKTRACE=full rustup run nightly-2020-05-15 cargo test --release -- --nocapture
|
||||
RUST_BACKTRACE=full rustup run nightly$NIGHTLY cargo test --release -- --nocapture
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user