File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020name : " Build PyPI Artifacts"
2121
22+
2223on :
23- workflow_call :
24- inputs :
25- VERSION :
26- required : true
27- type : string
24+ push :
25+ branches :
26+ - ' *'
2827
2928jobs :
3029 pypi-build-artifacts :
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 : |
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"
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
You can’t perform that action at this time.
0 commit comments