Swap to stable Rustc (non-nightly) (#118)
* Swap to stable Rustc (non-nightly) * Remove toolchain? * cargo run?
This commit is contained in:
@@ -18,9 +18,9 @@ echo "*** Building package"
|
||||
echo "*** Cleaning old builds"
|
||||
rm -rf ./build ./pkg
|
||||
|
||||
# build new via nightly & wasm-pack
|
||||
# build new via wasm-pack
|
||||
echo "*** Building WASM output"
|
||||
rustup run nightly$NIGHTLY wasm-pack build --release --scope polkadot --target nodejs
|
||||
wasm-pack build --release --scope polkadot --target nodejs
|
||||
mv pkg build
|
||||
|
||||
# optimise
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
rustup toolchain install stable
|
||||
yarn polkadot-ci-ghact-build
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
rustup toolchain install stable
|
||||
./scripts/install-build-deps.sh
|
||||
|
||||
echo "*** Building packages"
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
rustup toolchain install nightly$NIGHTLY
|
||||
|
||||
rustup toolchain install stable
|
||||
cd packages
|
||||
|
||||
PACKAGES=( $(ls -1d *) )
|
||||
@@ -16,7 +15,7 @@ for PKG in "${PACKAGES[@]}"; do
|
||||
cd $PKG
|
||||
echo "*** Testing Rust $PKG"
|
||||
|
||||
RUST_BACKTRACE=full rustup run nightly$NIGHTLY cargo test --release -- --nocapture
|
||||
RUST_BACKTRACE=full cargo test --release -- --nocapture
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user