From afce21a7bc8fe69f88916b743c6f1e29e0aba50a Mon Sep 17 00:00:00 2001 From: messense Date: Wed, 16 Nov 2022 16:54:46 +0800 Subject: [PATCH] CI: Add `abi3audit` --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0357378b5..0fe1104b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 + pipx run --python python3.10 abi3audit test-crates/pyo3-pure/target/wheels/*.whl fi # Check wheels with twine twine check --strict test-crates/pyo3-pure/target/wheels/*.whl