aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_tidy.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-04-04 11:00:09 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-04-04 11:57:06 +0200
commitfab24f8c3540b6f1a128cb9d6812df6678472b8d (patch)
treedd90e2929ce31a2f527460597c51ef37112dc408 /ci/test/00_setup_env_native_tidy.sh
parent0da559e02e442f246c18b3d94ed166b97d1fb649 (diff)
downloadbitcoin-fab24f8c3540b6f1a128cb9d6812df6678472b8d.tar.xz
ci: Add clang-tidy task
Diffstat (limited to 'ci/test/00_setup_env_native_tidy.sh')
-rwxr-xr-xci/test/00_setup_env_native_tidy.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/test/00_setup_env_native_tidy.sh b/ci/test/00_setup_env_native_tidy.sh
new file mode 100755
index 0000000000..7d1f763938
--- /dev/null
+++ b/ci/test/00_setup_env_native_tidy.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2022 The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+export LC_ALL=C.UTF-8
+
+export DOCKER_NAME_TAG="ubuntu:22.04"
+export CONTAINER_NAME=ci_native_tidy
+export PACKAGES="clang llvm clang-tidy bear libevent-dev libboost-dev"
+export NO_DEPENDS=1
+export RUN_UNIT_TESTS=false
+export RUN_FUNCTIONAL_TESTS=false
+export RUN_FUZZ_TESTS=false
+export RUN_TIDY=true
+export GOAL="install"
+export BITCOIN_CONFIG="CC=clang CXX=clang++ --disable-hardening CFLAGS='-O0 -g0' CXXFLAGS='-O0 -g0'"
+export CCACHE_SIZE=200M