Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/build-configurations.sh
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | build-default) | ||||
# Build secp256k1 and run the java tests. | # Build secp256k1 and run the java tests. | ||||
export TOPLEVEL="${TOPLEVEL}"/src/secp256k1 | export TOPLEVEL="${TOPLEVEL}"/src/secp256k1 | ||||
export BUILD_DIR="${TOPLEVEL}"/build | export BUILD_DIR="${TOPLEVEL}"/build | ||||
setup | setup | ||||
CONFIGURE_FLAGS="--enable-jni --enable-experimental --enable-module-ecdh" "${CI_SCRIPTS_DIR}"/build.sh | CONFIGURE_FLAGS="--enable-jni --enable-experimental --enable-module-ecdh" "${CI_SCRIPTS_DIR}"/build.sh | ||||
make -j "${THREADS}" check-java | make -j "${THREADS}" check-java | ||||
;; | ;; | ||||
build-extended-tests-3) | |||||
# Build and run all functional tests. Note that not all extended tests are | |||||
# run in build-default because some tests take a long time to complete. | |||||
"${CI_SCRIPTS_DIR}"/build.sh | |||||
TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --extended --jobs 3" | |||||
./test/functional/test_runner.py -J=junit_results_default.xml ${TEST_RUNNER_FLAGS} | |||||
./test/functional/test_runner.py -J=junit_results_next_upgrade.xml --with-gravitonactivation ${TEST_RUNNER_FLAGS} | |||||
;; | |||||
build-extended-tests-4) | |||||
# Build and run all functional tests. Note that not all extended tests are | |||||
# run in build-default because some tests take a long time to complete. | |||||
"${CI_SCRIPTS_DIR}"/build.sh | |||||
TEST_RUNNER_FLAGS="${TEST_RUNNER_FLAGS} --extended --jobs 4" | |||||
./test/functional/test_runner.py -J=junit_results_default.xml ${TEST_RUNNER_FLAGS} | |||||
./test/functional/test_runner.py -J=junit_results_next_upgrade.xml --with-gravitonactivation ${TEST_RUNNER_FLAGS} | |||||
;; | |||||
build-without-wallet) | build-without-wallet) | ||||
# Build without wallet and run the unit tests. | # Build without wallet and run the unit tests. | ||||
CONFIGURE_FLAGS="--disable-wallet" "${CI_SCRIPTS_DIR}"/build.sh | CONFIGURE_FLAGS="--disable-wallet" "${CI_SCRIPTS_DIR}"/build.sh | ||||
make -j "${THREADS}" check | make -j "${THREADS}" check | ||||
;; | ;; | ||||
build-ibd) | build-ibd) | ||||
"${CI_SCRIPTS_DIR}"/build.sh | "${CI_SCRIPTS_DIR}"/build.sh | ||||
Show All 18 Lines |