Skip to content

Commit

Permalink
Add abi3audit check for stable ABI violations to CI
Browse files Browse the repository at this point in the history
Only applies to CPython>=3.12.
  • Loading branch information
nicholasjng committed Mar 6, 2024
1 parent 5bc9ecf commit 083f50f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ jobs:
python -m pip install --find-links=dist/ nanobind_example
python -c "import nanobind_example; assert nanobind_example.add(1, 2) == 3"
working-directory: ${{ github.workspace }}/nanobind_example
- name: Check ${{ matrix.os }} CPython>=3.12 wheels for stable ABI violations
if: matrix.py == '3.12'
run: |
python -m pip install --upgrade abi3audit
python -m abi3audit dist/*.whl
shell: bash
working-directory: ${{ github.workspace }}/nanobind_example

0 comments on commit 083f50f

Please sign in to comment.