v30.3-roots.1 · Commit 1: [PATCH 01/68] build: adapt Roots platform support to Core 30.3
ci/test/03_test_script.sh
Before: ci/test/03_test_script.sh · After: ci/test/03_test_script.sh
File metadata
index 16d1f1cd462536e6e97bba744682ef9ee59438ed..185d60d2ad2e814896e537b64ba016bd681682a6 100755
Download original patch · Release notes
Diff rows 1–15 of 15. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
ci/test/03_test_script.sh
CHANGED
|
@@ -124,7 +124,14 @@ PRINT_CCACHE_STATISTICS="ccache --version | head -n 1 && ccache --show-stats"
|
|
| 124 |
# Folder where the build is done.
|
| 125 |
BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build-$HOST}
|
| 126 |
|
| 127 |
-
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR -Werror=dev"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
if [[ "${RUN_TIDY}" == "true" ]]; then
|
| 130 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
|
|
|
|
| 124 |
# Folder where the build is done.
|
| 125 |
BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build-$HOST}
|
| 126 |
|
| 127 |
+
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DENABLE_EXTERNAL_SIGNER=ON -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR -Werror=dev"
|
| 128 |
+
if [[ -n "${RELEASE_TAG:-}" ]]; then
|
| 129 |
+
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?([-+][0-9A-Za-z]+([.-][0-9A-Za-z]+)*)?$ ]]; then
|
| 130 |
+
printf 'Invalid release tag: %s\n' "$RELEASE_TAG" >&2
|
| 131 |
+
exit 1
|
| 132 |
+
fi
|
| 133 |
+
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCLIENT_VERSION_TAG=$RELEASE_TAG"
|
| 134 |
+
fi
|
| 135 |
|
| 136 |
if [[ "${RUN_TIDY}" == "true" ]]; then
|
| 137 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
|