Skip to content

Commit 0dadb22

Browse files
authored
[3.11] Add an error message to the ABI-dump file check (#94129)
1 parent 3ece6e6 commit 0dadb22

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,16 @@ jobs:
7676
./configure --enable-shared
7777
make -j4
7878
- name: Check for changes in the ABI
79-
run: make check-abidump
79+
run: |
80+
make check-abidump
81+
if [ $? -neq 0 ] ; then
82+
echo "Generated ABI file is not up to date."
83+
echo "Please, add the release manager of this branch as a reviewer of this PR."
84+
echo ""
85+
echo "To learn more about this check, please visit: https://devguide.python.org/setup/?highlight=abi#regenerate-the-abi-dump"
86+
echo ""
87+
exit 1
88+
fi
8089
8190
check_generated_files:
8291
name: 'Check if generated files are up to date'

0 commit comments

Comments
 (0)