Skip to content

Commit

Permalink
CI: Add abi3audit
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 16, 2022
1 parent 2d1f09c commit be81f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
if: ${{ !contains(matrix.python-version, 'pypy') }}
run: pip install cffi
- name: Install python packages
run: pip install virtualenv ziglang~=0.10.0 twine
run: pip install virtualenv ziglang~=0.10.0 twine abi3audit
- uses: dtolnay/rust-toolchain@stable
id: rustup
with:
Expand Down Expand Up @@ -190,6 +190,9 @@ jobs:
cargo run -- build -i ${{ matrix.python-version }} -m test-crates/pyo3-pure/Cargo.toml --target aarch64-unknown-linux-musl --zig
if [[ "${{ matrix.python-version }}" != "pypy"* ]]; then
cargo run -- build -i ${{ matrix.python-version }} -m test-crates/pyo3-pure/Cargo.toml --target aarch64-apple-darwin --zig
# Check abi3 wheels with abi3audit on CPython only
abi3audit test-crates/pyo3-pure/target/wheels/*.whl
fi
# Check wheels with twine
twine check --strict test-crates/pyo3-pure/target/wheels/*.whl
Expand Down

0 comments on commit be81f79

Please sign in to comment.