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

View File

@@ -1,5 +1,10 @@
# CHANGELOG
## 1.5.0-x
- Move to building via stable, not nightly
## 1.4.1 Aug 27, 2020
- Rea-add the BTC/ETH compatible `bip39ToSeed` dropped in the previous version (ETH-compatible pairs)

View File

@@ -19,8 +19,8 @@
"test": "./scripts/test-rust.sh"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@polkadot/dev": "^0.57.1"
"@babel/core": "^7.12.0",
"@polkadot/dev": "^0.58.1"
},
"version": "1.5.0-beta.4"
}

File diff suppressed because it is too large Load Diff

View File

@@ -18,11 +18,11 @@ crate-type = ["cdylib", "rlib"]
backtrace = "0.3.38"
blake2-rfc = "0.2.18"
byteorder = "1.3.1"
ed25519-dalek = { version = "1.0.0-pre.4", features = ["nightly"] }
ed25519-dalek = { version = "1.0.0-pre.4", features = [] }
hmac = "0.7.0"
# libsecp256k1 = "0.2.2"
pbkdf2 = { version = "0.3.0", default-features = false }
schnorrkel = { version = "0.9.1", features = ["nightly", "preaudit_deprecated", "u64_backend"] }
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"] }
scrypt = { version = "0.2", default-features = false }
sha2 = "0.8.1"
tiny-bip39 = { version = "0.7", default-features = false }

View File

@@ -20,7 +20,7 @@
"main": "index.js",
"types": "index.d.ts",
"devDependencies": {
"@polkadot/dev": "^0.57.1",
"@polkadot/dev": "^0.58.1",
"@polkadot/util": "^3.5.1",
"override-require": "^1.1.1"
},

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

View File

@@ -5,5 +5,5 @@
set -e
rustup toolchain install nightly$NIGHTLY
rustup toolchain install stable
yarn polkadot-ci-ghact-build

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"

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

4894
yarn.lock

File diff suppressed because it is too large Load Diff