forked from hyperledger-iroha/iroha-dco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
28 lines (28 loc) · 1.15 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
machine:
environment:
IROHA_HOME: $(pwd)/iroha
PATH: $PATH:/opt/cmake-3.5.2-Linux-x86_64/bin
JAVA_HOME: /usr/lib/jvm/java-7-openjdk-amd64
dependencies:
pre:
- sudo apt-get -y install build-essential libtcmalloc-minimal4 && sudo ln -s /usr/lib/libtcmalloc_minimal.so.4 /usr/lib/libtcmalloc_minimal.so
override:
- mkdir build; cd build; cmake ..; make
checkout:
post:
- sudo apt-get -y install libboost-all-dev
- cd /tmp
- sudo apt-get -y purge cmake
- curl -sSL https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz | sudo tar -xzC /opt
- cd $IROHA_HOME
- git submodule init
- git submodule update
- cd $IROHA_HOME/core/vendor/Aeron; ./gradlew; mkdir -p cppbuild/Debug; cd cppbuild/Debug; cmake ../..; cmake --build . --clean-first; ctest
- cd $IROHA_HOME/core/vendor/leveldb; make
- cd $IROHA_HOME/core/vendor/ed25519; make
- cd $IROHA_HOME/core/vendor/yaml-cpp; mkdir build; cd build; cmake ..; make
- cd $IROHA_HOME/core/vendor/crow; mkdir build; cd build; cmake ..; make
- cd $IROHA_HOME/core/vendor/msgpack-c; cmake -DMSGPACK_CXX11=ON .; sudo make install
test:
override:
- ./test.sh