mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
ci: make CI job fail when check-deps.sh script fails
Previously the check-deps.sh would write information about unexpected dependencies to stderr, but return exit code 0, so the error would be ignored by CI. Now it will return code 1 and cause CI to fail if unexpected dependencies are detected.
This commit is contained in:
parent
d51edecddc
commit
fd38711217
1 changed files with 3 additions and 0 deletions
|
@ -194,7 +194,10 @@ cd "$BUILD_DIR/src"
|
|||
extract_symbols "$TEMP_DIR"
|
||||
if check_libraries "$TEMP_DIR"; then
|
||||
echo "Success! No unexpected dependencies were detected."
|
||||
RET=0
|
||||
else
|
||||
echo >&2 "Error: Unexpected dependencies were detected. Check previous output."
|
||||
RET=1
|
||||
fi
|
||||
rm -r "$TEMP_DIR"
|
||||
exit $RET
|
||||
|
|
Loading…
Reference in a new issue