ci: Fix --strict mode for API check (#30623)
abi-compliance-checker was running in strict mode unconditionally, rather than honoring the CLI flag.
This commit is contained in:
committed by
GitHub
parent
d8d92973c8
commit
707616feb5
@@ -244,8 +244,10 @@ elif [ "$DO_CHECK" -eq 1 ]; then
|
|||||||
# From here on, we don't want to exit on first error
|
# From here on, we don't want to exit on first error
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
ACC_STRICT=
|
||||||
|
[ "$STRICT" -eq 0 ] || ACC_STRICT="-strict"
|
||||||
abi-compliance-checker \
|
abi-compliance-checker \
|
||||||
-strict \
|
$ACC_STRICT \
|
||||||
-source \
|
-source \
|
||||||
-library "$PROJECT_NAME" \
|
-library "$PROJECT_NAME" \
|
||||||
-old "$BUILD_DIR/apiabi/api.dump" \
|
-old "$BUILD_DIR/apiabi/api.dump" \
|
||||||
|
|||||||
Reference in New Issue
Block a user