mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Install eth (including dependencies).
This commit is contained in:
parent
cdc64e3cbb
commit
8758d9fb3c
@ -312,6 +312,14 @@ case $(uname -s) in
|
|||||||
cmake \
|
cmake \
|
||||||
git \
|
git \
|
||||||
libboost-all-dev
|
libboost-all-dev
|
||||||
|
if [ "$CI" = true ]; then
|
||||||
|
# Install 'eth', for use in the Solidity Tests-over-IPC.
|
||||||
|
# We will not use this 'eth', but its dependencies
|
||||||
|
sudo add-apt-repository -y ppa:ethereum/ethereum
|
||||||
|
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
|
||||||
|
sudo apt-get -y update
|
||||||
|
sudo apt-get -y install eth
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
@ -48,7 +48,9 @@ else
|
|||||||
mkdir -p /tmp/test
|
mkdir -p /tmp/test
|
||||||
wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
|
wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
|
||||||
test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth"
|
test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth"
|
||||||
|
sync
|
||||||
chmod +x /tmp/test/eth
|
chmod +x /tmp/test/eth
|
||||||
|
sync # Otherwise we might get a "text file busy" error
|
||||||
ETH_PATH="/tmp/test/eth"
|
ETH_PATH="/tmp/test/eth"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user