openethereum/scripts/actions/build-linux.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
775 B
Bash
Raw Normal View History

2020-07-29 11:45:51 +02:00
#!/bin/bash
set -e # fail on any error
set -u # treat unset variables as error
#strip ON
export RUSTFLAGS=" -Clink-arg=-s -Ctarget-feature=+aes,+sse2,+ssse3"
echo "_____ Build OpenEthereum and tools _____"
time cargo build --verbose --color=always --release --features final
time cargo build --verbose --color=always --release -p evmbin
time cargo build --verbose --color=always --release -p ethstore-cli
time cargo build --verbose --color=always --release -p ethkey-cli
echo "_____ Post-processing binaries _____"
rm -rf artifacts/*
mkdir -p artifacts/
2020-09-22 14:53:52 +02:00
cp -v target/release/openethereum artifacts/openethereum
cp -v target/release/openethereum-evm artifacts/openethereum-evm
2020-07-29 11:45:51 +02:00
cp -v target/release/ethstore artifacts/ethstore
cp -v target/release/ethkey artifacts/ethkey