Skip to content

Commit cee125b

Browse files
committed
Add Linux AArch64 wheel build support
1 parent 90a4e75 commit cee125b

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/manylinux_wheels.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,41 @@ jobs:
3939
env:
4040
CIBW_ENVIRONMENT_LINUX: "KIVY_SPLIT_EXAMPLES=1 USE_X11=1 USE_SDL2=1 USE_PANGOFT2=0 USE_GSTREAMER=0 PKG_CONFIG_PATH=$HOME/kivy_build/lib/pkgconfig LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/kivy_build/lib"
4141
CIBW_BUILD_VERBOSITY_LINUX: 3
42-
CIBW_BUILD: "cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64"
42+
CIBW_BUILD: ${{ matrix.cibw_build }}
43+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
4344
CIBW_BEFORE_ALL_LINUX: >
4445
source .ci/ubuntu_ci.sh &&
46+
yum install -y epel-release &&
4547
build_and_install_linux_kivy_sys_deps
4648
runs-on: ubuntu-18.04
49+
strategy:
50+
matrix:
51+
os: [ubuntu-18.04]
52+
cibw_archs: [auto]
53+
cibw_build: ['cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64']
54+
include:
55+
- os: ubuntu-18.04
56+
cibw_archs: aarch64
57+
cibw_build: cp37-manylinux_aarch64
58+
- os: ubuntu-18.04
59+
cibw_archs: aarch64
60+
cibw_build: cp38-manylinux_aarch64
61+
- os: ubuntu-18.04
62+
cibw_archs: aarch64
63+
cibw_build: cp39-manylinux_aarch64
64+
- os: ubuntu-18.04
65+
cibw_archs: aarch64
66+
cibw_build: cp310-manylinux_aarch64
4767
if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel linux]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel linux]')
4868
steps:
4969
- uses: actions/checkout@v2
5070
- name: Set up Python 3.x
5171
uses: actions/setup-python@v2
5272
with:
5373
python-version: 3.9
74+
- name: Set up QEMU
75+
if: ${{ matrix.cibw_archs == 'aarch64' }}
76+
uses: docker/setup-qemu-action@v1
5477
- name: Generate version metadata
5578
run: |
5679
source .ci/ubuntu_ci.sh

0 commit comments

Comments
 (0)