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 :
@@ -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 : |
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"
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
You can’t perform that action at this time.
0 commit comments