diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1741a0acc..12ae968d8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -75,7 +75,14 @@ jobs: strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - target: [x86_64] + target: [x86_64, aarch64] + include: + - target: x86_64 + container: quay.io/pypa/manylinux2014_x86_64 + platform-tag: manylinux2014_x86_64 + - target: aarch64 + container: quay.io/pypa/manylinux2014_aarch64 + platform-tag: manylinux2014_aarch64 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 @@ -92,8 +99,8 @@ jobs: with: target: ${{ matrix.target }} manylinux: "2014" - args: --release --out dist --compatibility manylinux2014 --skip-auditwheel --interpreter python${{ matrix.python-version }} - container: quay.io/pypa/manylinux2014_x86_64 + args: --release --out dist --strip --compatibility manylinux2014 --interpreter python${{ matrix.python-version }} --platform-tag ${{ matrix.platform-tag }} + container: ${{ matrix.container }} sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v3 diff --git a/pyproject.toml b/pyproject.toml index aed9043c0..28a8778db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Rust", "Operating System :: OS Independent", + "Operating System :: POSIX :: Linux", ] dependencies = [ "pip>=24.0", @@ -29,7 +30,9 @@ features = ["python"] module-name = "self_encryption._self_encryption" bindings = "pyo3" develop = true +strip = true compatibility = "manylinux2014" +platform-tags = ["manylinux2014_x86_64", "manylinux2014_aarch64"] [tool.pytest.ini_options] testpaths = ["tests"]