now runs tests!
This commit is contained in:
parent
7eb49c0fef
commit
3934e6e855
20
Dockerfile
20
Dockerfile
@ -65,6 +65,24 @@ RUN \
|
||||
cd /usr/local/src/steem && \
|
||||
git checkout $STEEMD_REV && \
|
||||
git submodule update --init --recursive && \
|
||||
rsync -a \
|
||||
/usr/local/src/steem/ \
|
||||
/usr/local/src/steemtest/
|
||||
|
||||
RUN \
|
||||
cd /usr/local/src/steemtest && \
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DBUILD_STEEM_TESTNET=On \
|
||||
-DLOW_MEMORY_NODE=ON \
|
||||
. \
|
||||
&& \
|
||||
make -j$(nproc) chain_test && \
|
||||
./tests/chain_test && \
|
||||
rm -rf /usr/local/src/steemtest
|
||||
|
||||
RUN \
|
||||
cd /usr/local/src/steem && \
|
||||
cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLOW_MEMORY_NODE=ON \
|
||||
@ -74,8 +92,6 @@ RUN \
|
||||
make install && \
|
||||
rm -rf /usr/local/src/steem
|
||||
|
||||
# FIXME run steemd tests as part of build
|
||||
|
||||
RUN \
|
||||
apt-get remove -y \
|
||||
automake \
|
||||
|
@ -7,6 +7,7 @@ services:
|
||||
environment:
|
||||
- STEEMD_MINER_NAME
|
||||
- STEEMD_PRIVATE_KEY
|
||||
- STEEMD_WITNESS_NAME
|
||||
ports:
|
||||
- "8090:8090"
|
||||
- "2001:2001"
|
||||
|
Loading…
Reference in New Issue
Block a user