Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/builds/build-clang-10.sh
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
#!/usr/bin/env bash | |||||
export LC_ALL=C.UTF-8 | |||||
set -euxo pipefail | |||||
# shellcheck source=../ci-fixture.sh | |||||
source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | |||||
# Use clang-10 for this build instead of the default clang-8. | |||||
# This allow for checking that no warning is introduced for newer versions | |||||
# of the compiler | |||||
CMAKE_FLAGS=( | |||||
"-DCMAKE_C_COMPILER=clang-10" | |||||
"-DCMAKE_CXX_COMPILER=clang++-10" | |||||
) | |||||
build_with_cmake --Werror | |||||
ninja \ | |||||
test_bitcoin \ | |||||
test_bitcoin-qt \ | |||||
test_bitcoin-seeder \ | |||||
secp256k1-tests \ | |||||
secp256k1-exhaustive_tests | |||||
# TODO do the same with the latest GCC |