Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Lines | build-master) | ||||
ninja check-functional-upgrade-activated-extended | ninja check-functional-upgrade-activated-extended | ||||
;; | ;; | ||||
build-secp256k1) | build-secp256k1) | ||||
# Enable all the features but endomorphism. | # Enable all the features but endomorphism. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | "-DSECP256K1_ENABLE_MODULE_ECDH=ON" | ||||
"-DSECP256K1_ENABLE_MODULE_MULTISET=ON" | "-DSECP256K1_ENABLE_MODULE_MULTISET=ON" | ||||
"-DSECP256K1_ENABLE_JNI=ON" | |||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | ||||
ninja check-secp256k1 | ninja check-secp256k1 | ||||
# Repeat with endomorphism. | # Repeat with endomorphism. | ||||
CMAKE_FLAGS+=( | CMAKE_FLAGS+=( | ||||
"-DSECP256K1_ENABLE_ENDOMORPHISM=ON" | "-DSECP256K1_ENABLE_ENDOMORPHISM=ON" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | ||||
ninja check-secp256k1 | ninja check-secp256k1 | ||||
# Check JNI bindings. Note that Jemalloc needs to be disabled: | |||||
# https://github.com/jemalloc/jemalloc/issues/247 | |||||
CMAKE_FLAGS=( | |||||
"-DSECP256K1_ENABLE_MODULE_ECDH=ON" | |||||
"-DSECP256K1_ENABLE_JNI=ON" | |||||
"-DUSE_JEMALLOC=OFF" | |||||
) | |||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | |||||
ninja check-secp256k1-java | |||||
;; | ;; | ||||
build-without-cli) | build-without-cli) | ||||
# Build without bitcoin-cli | # Build without bitcoin-cli | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DBUILD_BITCOIN_CLI=OFF" | "-DBUILD_BITCOIN_CLI=OFF" | ||||
) | ) | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh --Werror | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |