openethereum/scripts/gitlab/test-qemu.sh
Denis S. Soldatov aka General-Beck 95a7b032d7
chmod +x scripts
2018-06-02 05:18:22 +03:00

11 lines
375 B
Bash
Executable File

#!/bin/bash
##ARGUMENTS: 1. Docker target
set -e # fail on any error
set -u # treat unset variables as error
docker pull parity/rust-qemu:armhf
echo "Test wasmi on armhf"
docker run -it --rm -v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static parity/rust-qemu:armhf \
bash `git clone https://github.com/paritytech/parity.git&&\
cd parity&&./test.sh&&cd ..&&rm -rf parity/`