Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | build-tsan) | ||||
ninja check | ninja check | ||||
# FIXME Remove when wallet_multiwallet works with tsan after backporting at least the following PRs from Core and their dependencies: 13161, 12493, 14320, 14552, 14760, 11911. | # FIXME Remove when wallet_multiwallet works with tsan after backporting at least the following PRs from Core and their dependencies: 13161, 12493, 14320, 14552, 14760, 11911. | ||||
TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --exclude=wallet_multiwallet" | TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --exclude=wallet_multiwallet" | ||||
./test/functional/test_runner.py ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py ${TEST_RUNNER_FLAGS} | ||||
;; | ;; | ||||
build-default) | build-default) | ||||
# Build, run unit tests and functional tests (all extended tests if this is the master branch). | # Build, run unit tests and functional tests (all extended tests if this is the master branch). | ||||
"${CI_SCRIPTS_DIR}"/build_cmake.sh | CMAKE_FLAGS=( | ||||
ninja check | "-DSECP256K1_ENABLE_MODULE_ECDH=ON" | ||||
"-DSECP256K1_ENABLE_JNI=ON" | |||||
) | |||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | |||||
ninja check check-secp256k1 | |||||
deadalnix: check-secp256k1-java ? | |||||
FabienAuthorUnsubmitted Done Inline Actionscheck-secp256k1 includes check-secp256k1-java if -DSECP256K1_ENABLE_JNI is ON. Fabien: `check-secp256k1` includes `check-secp256k1-java` if `-DSECP256K1_ENABLE_JNI` is `ON`. | |||||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||||
if [[ "${BRANCH}" == "master" ]]; then | if [[ "${BRANCH}" == "master" ]]; then | ||||
TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --extended" | TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --extended" | ||||
fi | fi | ||||
./test/functional/test_runner.py ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py ${TEST_RUNNER_FLAGS} | ||||
deadalnixUnsubmitted Not Done Inline ActionsIt seems like this could benefit from running ninja check-all / ninja check-extended. This would ensure this whole test suite also covers univalue and leveldb. deadalnix: It seems like this could benefit from running ninja check-all / ninja check-extended.
This… | |||||
FabienAuthorUnsubmitted Done Inline ActionsIt's on my stack, I just left it aside lately in favor of other stuff. Fabien: It's on my stack, I just left it aside lately in favor of other stuff. | |||||
./test/functional/test_runner.py -J=junit_results_next_upgrade.xml --with-phononactivation ${TEST_RUNNER_FLAGS} | ./test/functional/test_runner.py -J=junit_results_next_upgrade.xml --with-phononactivation ${TEST_RUNNER_FLAGS} | ||||
# Build secp256k1 and run the java tests. | |||||
export TOPLEVEL="${TOPLEVEL}"/src/secp256k1 | |||||
export BUILD_DIR="${TOPLEVEL}"/build | |||||
setup | |||||
CMAKE_FLAGS=( | |||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | |||||
"-DSECP256K1_ENABLE_JNI=ON" | |||||
) | |||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${CI_SCRIPTS_DIR}"/build_cmake.sh | |||||
ninja check-secp256k1-java | |||||
;; | ;; | ||||
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 53 Lines • Show Last 20 Lines |
check-secp256k1-java ?