Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Add Linux AArch64 wheel build support #63

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,24 @@ jobs:
path: dist/*.tar.gz

wheel:
name: ${{ matrix.os }}-wheel
name: ${{ matrix.os }},${{ matrix.arch }}-wheel
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
arch: [auto]
include:
- os: ubuntu-latest
arch: aarch64

steps:
- uses: actions/checkout@v2

- name: Set up QEMU
if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v1

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
Expand All @@ -88,7 +97,8 @@ jobs:
- name: Build
env:
CIBW_BUILD: "cp36-* cp38-* pp36-*"
CIBW_SKIP: "*-win32 *-manylinux_i686 pp27-* cp27-* cp35-*"
CIBW_SKIP: "*-win32 *-manylinux_i686 pp27-* cp27-* cp35-* *-musllinux_aarch64"
CIBW_ARCHS: ${{matrix.arch}}
CIBW_BEFORE_BUILD_LINUX: yum -y install protobuf-devel protobuf-compiler python3-devel
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
CIBW_BEFORE_BUILD_MACOS: brew install protobuf
Expand Down