bf7e8741c7
* Update gitlab-test.sh https://github.com/paritytech/parity/issues/7871 * Update aura-test.sh
13 lines
420 B
Bash
Executable File
13 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
set -e # fail on any error
|
|
set -u # treat unset variables as error
|
|
|
|
cargo build -j $(nproc) --release --features final $CARGOFLAGS
|
|
git clone https://github.com/paritytech/parity-import-tests
|
|
cp target/release/parity parity-import-tests/aura/parity
|
|
cd parity-import-tests/aura
|
|
echo "Start Aura test"
|
|
parity import blocks.rlp --chain chain.json
|
|
parity restore snap --chain chain.json
|
|
echo "Aura test complete"
|