Skip to content

Commit 9907be9

Browse files
committed
Include other architectures
1 parent 4d4714a commit 9907be9

1 file changed

Lines changed: 11 additions & 18 deletions

File tree

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

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@
1919

2020
name: "Build PyPI Artifacts"
2121

22+
2223
on:
23-
workflow_call:
24-
inputs:
25-
VERSION:
26-
required: true
27-
type: string
24+
push:
25+
branches:
26+
- '*'
2827

2928
jobs:
3029
pypi-build-artifacts:
@@ -39,6 +38,12 @@ jobs:
3938
with:
4039
fetch-depth: 1
4140

41+
- name: Set up QEMU
42+
if: runner.os == 'Linux' && runner.arch == 'X64'
43+
uses: docker/setup-qemu-action@v3
44+
with:
45+
platforms: all
46+
4247
- uses: actions/setup-python@v5
4348
with:
4449
python-version: |
@@ -67,8 +72,8 @@ jobs:
6772
output-dir: wheelhouse
6873
config-file: "pyproject.toml"
6974
env:
70-
# Ignore 32 bit architectures
7175
CIBW_ARCHS: "auto64"
76+
CIBW_ARCHS_LINUX: "x86_64 aarch64 armv7l"
7277
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
7378
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
7479
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
@@ -84,15 +89,3 @@ jobs:
8489
with:
8590
name: "pypi-release-candidate-${{ matrix.os }}"
8691
path: ./wheelhouse/*
87-
88-
pypi-merge-artifacts:
89-
runs-on: ubuntu-latest
90-
needs:
91-
- pypi-build-artifacts
92-
steps:
93-
- name: Merge Artifacts
94-
uses: actions/upload-artifact/merge@v4
95-
with:
96-
name: "pypi-release-candidate-${{ inputs.VERSION }}"
97-
pattern: pypi-release-candidate*
98-
delete-merged: true

0 commit comments

Comments
 (0)