-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Testnet 0.1.0 - Add instructions for joining the Testnet. - Update install instructions - Upgrade `cxxopt` and `spdlog` - Streamline ci install scripts - Systematically install dependencies by using `./sys-dep-install.sh` - Drop support for CentOS - upgrade to gcc-8 and clang-9 for both travis and install - Remove Travis deploy, plan to use Github Action
- Loading branch information
Showing
92 changed files
with
11,278 additions
and
8,870 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,3 +62,6 @@ test_*/ | |
|
||
# autogenerated proto and grpc files | ||
src/rpc/proto-gen/ | ||
|
||
# dependencies install files | ||
ci/sys-dep-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,23 +20,31 @@ matrix: | |
dist: bionic | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-tool-chain-r-test | ||
packages: | ||
- autoconf | ||
- libtool | ||
- pkg-config | ||
- gcc-8 | ||
- g++-8 | ||
- lcov | ||
- llvm | ||
cache: | ||
directories: | ||
- $BUILD_LIB_LPATH | ||
before_install: | ||
- ls | ||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 100 | ||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 100 | ||
- gcc -v | ||
- g++ -v | ||
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
- sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" | ||
- sudo apt-get update | ||
- sudo apt-get install clang-9 | ||
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 100 | ||
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100 | ||
- clang -v | ||
- clang++ -v | ||
- pwd | ||
- sudo ln -s /usr/local/clang-7.0.0/bin/clang++ /usr/bin/clang++ | ||
- sudo ln -s /usr/local/clang-7.0.0/bin/clang /usr/bin/clang | ||
- echo $BUILD_LIB_LPATH | ||
- echo $EPIC_PATH | ||
- cd $BUILD_LIB_LPATH | ||
|
@@ -46,23 +54,20 @@ matrix: | |
- pip install --user cpp-coveralls | ||
- coveralls --help | ||
- coveralls --build-root build/CMakeFiles -E ".*/test/.*" -E ".*/src/tools/.*" -E ".*/3.1.*" -E ".*/src/cuckaroo/.*" -E ".*/src/main.*" -E ".*/src/rpc/proto-gen/.*" -E ".*/src/utils/(memory|spdlog|ar.*|big.*|cpptoml.*|cxx.*|merkle.*|port.*|seri.*|tiny.*|utilstr.*).*" --gcov "/usr/bin/llvm-cov gcov" --gcov-options '\-lp' | ||
- rm ~/.ssh/id_rsa | ||
- openssl aes-256-cbc -K $encrypted_be909093e248_key -iv $encrypted_be909093e248_iv -in ci/id_rsa.enc -out temp_key -d | ||
- cp temp_key ~/.ssh/id_rsa | ||
- chmod 600 ~/.ssh/id_rsa | ||
- ssh -p99 -oStrictHostKeyChecking=no [email protected] "rm -rf epic && git clone [email protected]:EPI-ONE/epic.git && cd epic && ./ci/deploy-build.sh" | ||
- ssh -p99 -oStrictHostKeyChecking=no [email protected] "rm -rf epic && git clone [email protected]:EPI-ONE/epic.git && cd epic && ./ci/deploy-build.sh" | ||
- ssh -p99 -oStrictHostKeyChecking=no [email protected] "rm -rf epic && git clone [email protected]:EPI-ONE/epic.git && cd epic && ./ci/deploy-build.sh" | ||
|
||
- os: osx | ||
osx_image: xcode11.2 | ||
osx_image: xcode11.1 | ||
addons: | ||
homebrew: | ||
packages: | ||
- autoconf | ||
- automake | ||
- libtool | ||
- gmp | ||
- gmp | ||
- cmake | ||
- [email protected] | ||
- grpc | ||
- rocksdb | ||
cache: | ||
directories: | ||
- $BUILD_LIB_MPATH | ||
|
@@ -72,20 +77,17 @@ matrix: | |
|
||
install: | ||
- clang -v | ||
- pwd | ||
- ls /usr/local/lib | ||
- ls | ||
- $EPIC_PATH/ci/install-cmake.sh | ||
- if [ ${TRAVIS_OS_NAME} == 'linux' ]; then $EPIC_PATH/ci/install-cmake.sh; fi | ||
- export PATH="/usr/local/bin:$PATH" | ||
- cmake --version | ||
- which cmake | ||
- $EPIC_PATH/ci/install-openssl.sh | ||
- type -a cmake | ||
- if [ ${TRAVIS_OS_NAME} == 'linux' ]; then $EPIC_PATH/ci/install-openssl.sh; fi | ||
- if [ ${TRAVIS_OS_NAME} == 'linux' ]; then $EPIC_PATH/ci/install-protobuf.sh; fi | ||
- if [ ${TRAVIS_OS_NAME} == 'linux' ]; then $EPIC_PATH/ci/install-grpc.sh; fi | ||
- if [ ${TRAVIS_OS_NAME} == 'linux' ]; then $EPIC_PATH/ci/install-rocksdb.sh; fi | ||
- $EPIC_PATH/ci/install-secp256k1.sh | ||
- $EPIC_PATH/ci/install-libevent.sh | ||
- $EPIC_PATH/ci/install-googletest.sh | ||
- $EPIC_PATH/ci/install-protobuf.sh | ||
- $EPIC_PATH/ci/install-grpc.sh | ||
- $EPIC_PATH/ci/install-rocksdb.sh | ||
- ls | ||
|
||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,14 @@ set -ev | |
EPIC_OPENSSL_VERSION="1_1_1d" | ||
EPIC_OPENSSL_DIR=""openssl-"$EPIC_OPENSSL_VERSION" | ||
|
||
if [ ${TRAVIS_OS_NAME} == 'osx' ]; then | ||
brew install [email protected] | ||
if [[ ! -d ${EPIC_OPENSSL_DIR} ]];then | ||
sudo rm -rf openssl* | ||
git clone -b OpenSSL_${EPIC_OPENSSL_VERSION} https://github.com/openssl/openssl.git ${EPIC_OPENSSL_DIR} | ||
cd ${EPIC_OPENSSL_DIR} | ||
./config && make -j4 | ||
else | ||
if [[ ! -d ${EPIC_OPENSSL_DIR} ]];then | ||
sudo rm -rf openssl* | ||
git clone -b OpenSSL_${EPIC_OPENSSL_VERSION} https://github.com/openssl/openssl.git ${EPIC_OPENSSL_DIR} | ||
cd ${EPIC_OPENSSL_DIR} | ||
./config && make -j4 | ||
else | ||
cd ${EPIC_OPENSSL_DIR} | ||
fi | ||
|
||
sudo make install_sw | ||
cd .. | ||
cd ${EPIC_OPENSSL_DIR} | ||
fi | ||
|
||
sudo make install_sw | ||
cd .. |
Oops, something went wrong.