Merge bitcoin/bitcoin#24779: ci: Build all optional dependencies in tidy task

faa7ae8242 ci: Build all optional tools in tidy task (MarcoFalke)

Pull request description:

  Ideally the whole source code is run through clang-tidy, but it can only run if the code is compiled. So install all optional deps for the targets.
  Hopefully this doesn't increase the run time too much.

ACKs for top commit:
  fanquake:
    ACK faa7ae8242 - runtime is still ~13 minutes.

Tree-SHA512: dc74e673a2998829f1e7069c89d7bc11bd6705b53d7a639a42a88c38d2e64c529e535e4e65c1cad9047c11d700ec4fa4433571048c89ed76e0486647c21652a2
This commit is contained in:
fanquake 2022-04-06 14:12:56 +01:00
commit c02a3dabe2
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -8,12 +8,12 @@ export LC_ALL=C.UTF-8
export DOCKER_NAME_TAG="ubuntu:22.04" export DOCKER_NAME_TAG="ubuntu:22.04"
export CONTAINER_NAME=ci_native_tidy export CONTAINER_NAME=ci_native_tidy
export PACKAGES="clang llvm clang-tidy bear libevent-dev libboost-dev" export PACKAGES="clang llvm clang-tidy bear libevent-dev libboost-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev libsqlite3-dev libdb++-dev"
export NO_DEPENDS=1 export NO_DEPENDS=1
export RUN_UNIT_TESTS=false export RUN_UNIT_TESTS=false
export RUN_FUNCTIONAL_TESTS=false export RUN_FUNCTIONAL_TESTS=false
export RUN_FUZZ_TESTS=false export RUN_FUZZ_TESTS=false
export RUN_TIDY=true export RUN_TIDY=true
export GOAL="install" export GOAL="install"
export BITCOIN_CONFIG="CC=clang CXX=clang++ --disable-hardening CFLAGS='-O0 -g0' CXXFLAGS='-O0 -g0'" export BITCOIN_CONFIG="CC=clang CXX=clang++ --with-incompatible-bdb --disable-hardening CFLAGS='-O0 -g0' CXXFLAGS='-O0 -g0'"
export CCACHE_SIZE=200M export CCACHE_SIZE=200M