Pin cython to <3.0.9 #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Pyarrow wheel for ARM | |
on: | |
push: | |
branches: | |
- main | |
- ci/* | |
tags: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
version: latest | |
- name: Available platforms | |
run: echo ${{ steps.buildx.outputs.platforms }} | |
- name: Build Pyarrow wheels | |
run: | | |
docker buildx build -f Dockerfile \ | |
--platform linux/arm/v7 \ | |
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \ | |
--load \ | |
-t pyarrow:wheel . | |
- name: Extract Wheels from image | |
run: | | |
docker run --rm -v $(pwd)/assets:/assets \ | |
--platform linux/arm/v7 \ | |
pyarrow:wheel \ | |
cp -r /build/arrow/python/dist /assets/ | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pyarrow_wheels | |
path: ./assets/dist/ |