Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/builds/build-linux64.sh
#!/usr/bin/env bash | #!/usr/bin/env bash | ||||
export LC_ALL=C.UTF-8 | export LC_ALL=C.UTF-8 | ||||
set -euxo pipefail | set -euxo pipefail | ||||
# shellcheck source=../ci-fixture.sh | # shellcheck source=../ci-fixture.sh | ||||
source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | source "${TOPLEVEL}/contrib/teamcity/ci-fixture.sh" | ||||
build_static_dependencies | build_static_dependencies | ||||
# Build, run unit tests and functional tests. | # Build, run unit tests and functional tests. | ||||
CMAKE_FLAGS=( | CMAKE_FLAGS=( | ||||
"-DCMAKE_TOOLCHAIN_FILE=${CMAKE_PLATFORMS_DIR}/Linux64.cmake" | "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_PLATFORMS_DIR}/Linux64.cmake" | ||||
"-DENABLE_PROPERTY_BASED_TESTS=ON" | "-DENABLE_PROPERTY_BASED_TESTS=ON" | ||||
) | ) | ||||
build_with_cmake | build_with_cmake --junit | ||||
# Unit tests | ninja -k0 check check-secp256k1 check-functional | ||||
run_test_bitcoin "for Linux 64 bits" | |||||
ninja check check-secp256k1 | |||||
# Functional tests | |||||
ninja check-functional |