Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-10982] Add linux aarch64 wheel build support #14832

Merged
merged 1 commit into from
Jun 9, 2021
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
13 changes: 11 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ jobs:
run: gsutil cp -r -a public-read source/* ${{ env.GCP_PATH }}

build_wheels:
name: Build python wheels on ${{ matrix.os_python.os }}
name: Build python wheels on ${{matrix.arch}} for ${{ matrix.os_python.os }}
needs: build_source
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
runs-on: ${{ matrix.os_python.os }}
strategy:
matrix:
Expand All @@ -209,6 +211,10 @@ jobs:
{"os": "macos-latest", "python": "cp36-* cp37-* cp38-*"},
{"os": "windows-latest", "python": "cp36-* cp37-* cp38-*"},
]
arch: [auto]
include:
- os_python: {"os": "ubuntu-latest", "python": "cp36-* cp37-* cp38-*"}
arch: aarch64
steps:
- name: Download python source distribution from artifacts
uses: actions/download-artifact@v2
Expand All @@ -225,8 +231,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.7
- uses: docker/setup-qemu-action@v1
if: ${{matrix.arch == 'aarch64'}}
name: Set up QEMU
- name: Install cibuildwheel
run: pip install cibuildwheel==1.4.2
run: pip install cibuildwheel==1.11.0
- name: Build wheel
working-directory: apache-beam-source
env:
Expand Down