Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 367 Lines • ▼ Show 20 Lines | ninja \ | ||||
check-bitcoin-seeder \ | check-bitcoin-seeder \ | ||||
check-bitcoin-util \ | check-bitcoin-util \ | ||||
check-secp256k1 | check-secp256k1 | ||||
# Functional tests | # Functional tests | ||||
ninja check-functional | ninja check-functional | ||||
;; | ;; | ||||
build-linux32) | |||||
"${DEVTOOLS_DIR}"/build_depends.sh | |||||
# Build, run unit tests and functional tests. | |||||
CMAKE_FLAGS=( | |||||
"-DCMAKE_TOOLCHAIN_FILE=${CMAKE_PLATFORMS_DIR}/Linux32.cmake" | |||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | |||||
) | |||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh | |||||
# Unit tests | |||||
run_test_bitcoin "for Linux 32 bits" | |||||
ninja \ | |||||
check-bitcoin-qt \ | |||||
check-bitcoin-seeder \ | |||||
check-bitcoin-util \ | |||||
check-secp256k1 | |||||
# Functional tests | |||||
# The abc-sigops-mempool-mining is failing on linux32,see | |||||
# https://reviews.bitcoinabc.org/D5852. The test should be inclded back when | |||||
# it gets fixed. | |||||
./test/functional/test_runner.py --exclude=abc-sigops-mempool-mining | |||||
;; | |||||
check-seeds) | check-seeds) | ||||
"${DEVTOOLS_DIR}"/build_cmake.sh | "${DEVTOOLS_DIR}"/build_cmake.sh | ||||
# Run on different ports to avoid a race where the rpc port used in the | # Run on different ports to avoid a race where the rpc port used in the | ||||
# first run may not be closed in time for the second to start. | # first run may not be closed in time for the second to start. | ||||
SEEDS_DIR="${TOPLEVEL}"/contrib/seeds | SEEDS_DIR="${TOPLEVEL}"/contrib/seeds | ||||
RPC_PORT=18832 "${SEEDS_DIR}"/check-seeds.sh main 80 | RPC_PORT=18832 "${SEEDS_DIR}"/check-seeds.sh main 80 | ||||
RPC_PORT=18833 "${SEEDS_DIR}"/check-seeds.sh test 70 | RPC_PORT=18833 "${SEEDS_DIR}"/check-seeds.sh test 70 | ||||
;; | ;; | ||||
*) | *) | ||||
echo "Error: Invalid build name '${ABC_BUILD_NAME}'" | echo "Error: Invalid build name '${ABC_BUILD_NAME}'" | ||||
exit 2 | exit 2 | ||||
;; | ;; | ||||
esac | esac |