Skip to content

Commit

Permalink
Merge pull request #6 from nicholasjng/stable-abi-builds
Browse files Browse the repository at this point in the history
Add abi3audit check for stable ABI violations to CI
  • Loading branch information
nicholasjng authored Mar 6, 2024
2 parents 5c29b43 + 083f50f commit 97e3db2
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 97e3db2

Please sign in to comment.