Swap to stable Rustc (non-nightly) (#118)

* Swap to stable Rustc (non-nightly)

* Remove toolchain?

* cargo run?
This commit is contained in:
Jaco Greeff
2020-10-15 12:42:50 +02:00
committed by GitHub
parent 4ce48c701f
commit 29ab5f2e50
10 changed files with 832 additions and 4588 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -5,5 +5,5 @@
set -e
rustup toolchain install nightly$NIGHTLY
rustup toolchain install stable
yarn polkadot-ci-ghact-build
+1 -1
View File
@@ -5,7 +5,7 @@
set -e
rustup toolchain install nightly$NIGHTLY
rustup toolchain install stable
./scripts/install-build-deps.sh
echo "*** Building packages"
+2 -3
View File
@@ -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