mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
[ci] New try-runtime command (#6445)
* [ci] New try-runtime command * restart pipeline * build features * fix --features flag * rm --execution flag * remove --no-spec-check-panic flag * change target dir * debug ccargo target dir * return target * try different location for runtime wasm * build only the runtime crate * check all generated .wasm files * adjust paths again * remove debug command Co-authored-by: joao-paulo-parity <joao-paulo@parity.io>
This commit is contained in:
committed by
GitHub
parent
e0a0475a05
commit
87f9e4e140
@@ -68,7 +68,12 @@ check-try-runtime:
|
||||
echo "Found label runtimemigration. Running tests"
|
||||
export RUST_LOG=remote-ext=debug,runtime=debug
|
||||
echo "---------- Running try-runtime for ${NETWORK} ----------"
|
||||
time cargo run --release --features=try-runtime try-runtime --chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443
|
||||
time cargo build --release -p "$NETWORK"-runtime
|
||||
time cargo run --release --features try-runtime try-runtime \
|
||||
--runtime ./target/release/wbuild/"$NETWORK"-runtime/target/wasm32-unknown-unknown/release/"$NETWORK"_runtime.wasm \
|
||||
-lruntime=debug \
|
||||
--chain=${NETWORK}-dev \
|
||||
on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443
|
||||
else
|
||||
echo "runtimemigration label not found. Skipping"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user