From 03845b8dfcd78f62b73f783c34dac63d806f9a44 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0357378b5..e137b62b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -191,6 +191,12 @@ jobs: 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 fi + + if [[ "${{ matrix.python-version }}" == "3.1"* ]]; then + # Check abi3 wheels with abi3audit on CPython only + pip install abi3audit + abi3audit test-crates/pyo3-pure/target/wheels/*.whl + fi # Check wheels with twine twine check --strict test-crates/pyo3-pure/target/wheels/*.whl