Skip to content

Commit 7f76769

Browse files
committed
Include other architectures
1 parent 4d4714a commit 7f76769

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

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

Lines changed: 13 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:
@@ -34,11 +33,19 @@ jobs:
3433
matrix:
3534
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ]
3635

36+
timeout-minutes: 180
37+
3738
steps:
3839
- uses: actions/checkout@v4
3940
with:
4041
fetch-depth: 1
4142

43+
- name: Set up QEMU
44+
if: runner.os == 'Linux' && runner.arch == 'X64'
45+
uses: docker/setup-qemu-action@v3
46+
with:
47+
platforms: all
48+
4249
- uses: actions/setup-python@v5
4350
with:
4451
python-version: |
@@ -67,8 +74,8 @@ jobs:
6774
output-dir: wheelhouse
6875
config-file: "pyproject.toml"
6976
env:
70-
# Ignore 32 bit architectures
7177
CIBW_ARCHS: "auto64"
78+
CIBW_ARCHS_LINUX: "x86_64 aarch64 armv7l"
7279
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
7380
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
7481
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
@@ -84,15 +91,3 @@ jobs:
8491
with:
8592
name: "pypi-release-candidate-${{ matrix.os }}"
8693
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)