Skip to content

Commit 85f1ded

Browse files
authored
bpo-42545: Check that all symbols in the limited ABI are exported (GH-23616)
1 parent 2e0760b commit 85f1ded

File tree

5 files changed

+1027
-0
lines changed

5 files changed

+1027
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
fi
7676
- name: Check exported libpython symbols
7777
run: make smelly
78+
- name: Check limited ABI symbols
79+
run: make check-limited-abi
7880

7981
build_win32:
8082
name: 'Windows (x86)'

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ script:
192192
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVIS_PULL_REQUEST; fi
193193
# Check that all symbols exported by libpython start with "Py" or "_Py"
194194
- make smelly
195+
# Check that all symbols in the limited abi are present
196+
- make check-limited-abi
195197
# `-r -w` implicitly provided through `make buildbottest`.
196198
- |
197199
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

0 commit comments

Comments
 (0)