Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | case "$ABC_BUILD_NAME" in | ||||
build-diff) | build-diff) | ||||
# Build, run unit tests and functional tests. | # Build, run unit tests and functional tests. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | "-DSECP256K1_ENABLE_MODULE_ECDH=ON" | ||||
"-DSECP256K1_ENABLE_JNI=ON" | "-DSECP256K1_ENABLE_JNI=ON" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | ||||
# FIXME: Path collisions in src/test/util_tests.cpp cause issues when | |||||
# upgraded tests are run in parallel with their non-upgraded counterpart. | # Unit tests | ||||
# Change this back to a one-liner when the root cause is fixed. | ninja test_bitcoin | ||||
ninja check-all | ./src/test/test_bitcoin --logger=HRF:JUNIT,warning,junit_results_unit_tests.xml | ||||
ninja check-upgrade-activated | ./src/test/test_bitcoin --logger=HRF:JUNIT,warning,junit_results_unit_tests_upgrade_activated.xml -- -phononactivationtime=1575158400 | ||||
# Libs and tools tests | |||||
ninja check-devtools check-bitcoin-qt check-leveldb check-univalue check-secp256k1 check-bitcoin-seeder check-bitcoin-util check-rpcauth | |||||
# Functional tests | |||||
ninja check-functional | |||||
ninja check-functional-upgrade-activated | |||||
;; | ;; | ||||
build-master) | build-master) | ||||
# Build, run unit tests and extended functional tests. | # Build, run unit tests and extended functional tests. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | "-DSECP256K1_ENABLE_MODULE_ECDH=ON" | ||||
"-DSECP256K1_ENABLE_JNI=ON" | "-DSECP256K1_ENABLE_JNI=ON" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | ||||
# FIXME: Path collisions in src/test/util_tests.cpp cause issues when | |||||
# upgraded tests are run in parallel with their non-upgraded counterpart. | # Unit tests | ||||
# Change this back to a one-liner when the root cause is fixed. | ninja test_bitcoin | ||||
ninja check-extended | ./src/test/test_bitcoin --logger=HRF:JUNIT,warning,junit_results_unit_tests.xml | ||||
ninja check-upgrade-activated-extended | ./src/test/test_bitcoin --logger=HRF:JUNIT,warning,junit_results_unit_tests_upgrade_activated.xml -- -phononactivationtime=1575158400 | ||||
# Libs and tools tests | |||||
ninja check-devtools check-bitcoin-qt check-leveldb check-univalue check-secp256k1 check-bitcoin-seeder check-bitcoin-util check-rpcauth | |||||
# Functional tests | |||||
ninja check-functional-extended | |||||
ninja check-functional-upgrade-activated-extended | |||||
;; | ;; | ||||
build-without-wallet) | build-without-wallet) | ||||
# Build without wallet and run the unit tests. | # Build without wallet and run the unit tests. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DBUILD_BITCOIN_WALLET=OFF" | "-DBUILD_BITCOIN_WALLET=OFF" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |