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 :
6766 output-dir : wheelhouse
6867 config-file : " pyproject.toml"
6968 env :
70- # Ignore 32 bit architectures
71- CIBW_ARCHS : " auto64"
69+ CIBW_ARCHS_LINUX : " x86_64 aarch64 armv7l"
70+ CIBW_ARCHS_WINDOWS : " AMD64 ARM64"
71+ CIBW_ARCHS_MACOS : " x86_64 arm64"
7272 CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9,<3.13"
7373 CIBW_TEST_REQUIRES : " pytest==7.4.2 moto==5.0.1"
7474 CIBW_TEST_COMMAND : " pytest {project}/tests/avro/test_decoder.py"
8484 with :
8585 name : " pypi-release-candidate-${{ matrix.os }}"
8686 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