Skip to content
Snippets Groups Projects
Commit 87f9e4e1 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[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: default avatarjoao-paulo-parity <joao-paulo@parity.io>
parent e0a0475a
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment