Skip to content

no 3.10 wheels due to missing 3.10 piwheel support #51

no 3.10 wheels due to missing 3.10 piwheel support

no 3.10 wheels due to missing 3.10 piwheel support #51

Workflow file for this run

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@v3
# We need docker experimental to pull the ARM image.
- name: Switch docker to experimental
run: |
docker version -f '{{.Server.Experimental}}'
echo $'{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
docker version -f '{{.Server.Experimental}}'
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/[email protected]
with:
buildx-version: latest
qemu-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@v3
with:
name: pyarrow_wheels
path: ./assets/dist/