From be81f79e5cb670f09eaf1dea4233aa19d8267186 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0357378b5..ab8427630 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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