Skip to content

Commit ba026a8

Browse files
committed
Add support for aarch64
1 parent ba7676c commit ba026a8

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/pypi-build-artifacts.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
VERSION: ${{ inputs.VERSION }}
5656
run: uv version "${{ env.VERSION }}"
5757

58+
- name: Set up QEMU
59+
if: startsWith(matrix.os, 'ubuntu')
60+
uses: docker/setup-qemu-action@v3
61+
5862
# Publish the source distribution with the version that's in
5963
# the repository, otherwise the tests will fail
6064
- name: Compile source distribution
@@ -68,8 +72,10 @@ jobs:
6872
config-file: "pyproject.toml"
6973
env:
7074
# Ignore 32 bit architectures
71-
CIBW_ARCHS: "auto64"
75+
CIBW_ARCHS: "auto64 aarch64"
7276
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
77+
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_2"
78+
CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_2"
7379
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
7480
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
7581
# Ignore tests for pypy since not all dependencies are compiled for it

.github/workflows/svn-build-artifacts.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
- name: Install UV
5151
uses: astral-sh/setup-uv@v7
5252

53+
- name: Set up QEMU
54+
if: startsWith(matrix.os, 'ubuntu')
55+
uses: docker/setup-qemu-action@v3
56+
5357
# Publish the source distribution with the version that's in
5458
# the repository, otherwise the tests will fail
5559
- name: Compile source distribution
@@ -63,8 +67,10 @@ jobs:
6367
config-file: "pyproject.toml"
6468
env:
6569
# Ignore 32 bit architectures
66-
CIBW_ARCHS: "auto64"
70+
CIBW_ARCHS: "auto64 aarch64"
6771
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
72+
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_2"
73+
CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_2"
6874
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
6975
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
7076
# Ignore tests for pypy since not all dependencies are compiled for it

0 commit comments

Comments
 (0)