mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-06 15:04:52 +02:00
ci: Disable valgrind functionl tests on forked repos to avoid timeouts
This commit is contained in:
parent
c2e53ff064
commit
faceeae49a
@ -10,6 +10,10 @@ export CONTAINER_NAME=ci_native_valgrind
|
|||||||
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
|
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
|
||||||
export USE_VALGRIND=1
|
export USE_VALGRIND=1
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
||||||
export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
|
if [[ "${TRAVIS}" == "true" && "${TRAVIS_REPO_SLUG}" != "bitcoin/bitcoin" ]]; then
|
||||||
|
export TEST_RUNNER_EXTRA="wallet_disable" # Only run wallet_disable as a smoke test to not hit the 50 min travis time limit
|
||||||
|
else
|
||||||
|
export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
|
||||||
|
fi
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI
|
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI
|
||||||
|
@ -43,6 +43,8 @@ BEGIN_FOLD build
|
|||||||
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
|
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
|
||||||
END_FOLD
|
END_FOLD
|
||||||
|
|
||||||
BEGIN_FOLD ccache_stats
|
BEGIN_FOLD cache_stats
|
||||||
DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats"
|
DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats"
|
||||||
|
DOCKER_EXEC du -sh "${DEPENDS_DIR}"/*/
|
||||||
|
DOCKER_EXEC du -sh "${PREVIOUS_RELEASES_DIR}"
|
||||||
END_FOLD
|
END_FOLD
|
||||||
|
Loading…
Reference in New Issue
Block a user