@@ -17,90 +17,3 @@ freebsd_ci_task:
1717
1818 test_script : |
1919 PYTHONPATH="$(echo $PWD/build/lib.*)" pytest
20-
21-
22- build_wheels_task :
23- only_if : $CIRRUS_BRANCH =~ "release/.*" || $CIRRUS_TAG =~ "v0\..*"
24-
25- matrix :
26- - compute_engine_instance :
27- image_project : cirrus-images
28- image : family/docker-builder-arm64
29- architecture : arm64
30- platform : linux
31- matrix :
32- - name : Build ARM Linux py3.8-9 wheels
33- env :
34- CIBW_BUILD : " cp38-* cp39-*"
35- - name : Build ARM Linux py3.10-11 wheels
36- env :
37- CIBW_BUILD : " cp310-* cp311-*"
38- - name : Build ARM Linux py3.12-14 wheels
39- env :
40- CIBW_BUILD : " cp312-* cp313-* cp314-*"
41-
42- - name : Build ARM macOS wheels
43- macos_instance :
44- image : ghcr.io/cirruslabs/macos-sonoma-base:latest
45- env :
46- CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
47-
48- alias : build_wheels
49-
50- env :
51- CIRRUS_CLONE_DEPTH : 1
52-
53- VENV : $HOME/relenv
54- PATH : $VENV/bin:$PATH
55-
56- CIBW_BUILD_VERBOSITY : 1
57-
58- # Avoid linking with non-system library libdeflate.dylib
59- CIBW_ENVIRONMENT_MACOS : HTSLIB_CONFIGURE_OPTIONS="--without-libdeflate"
60-
61- CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
62- CIBW_MUSLLINUX_AARCH64_IMAGE : musllinux_1_2
63-
64- install_script : |
65- python3 -m venv $VENV
66- pip3 install cibuildwheel==3.2.1
67-
68- build_script : |
69- cibuildwheel
70-
71- wheels_artifacts :
72- path : wheelhouse/*.whl
73-
74- upload_pypi_task :
75- only_if : $CIRRUS_BRANCH =~ "release/.*" || $CIRRUS_TAG =~ "v0\..*"
76- depends_on : build_wheels
77-
78- name : Publish ARM wheels
79-
80- container :
81- image : python:latest
82-
83- env :
84- CIRRUS_CLONE_DEPTH : 1
85- API_BASEURL : https://api.cirrus-ci.com/v1
86- TWINE_USERNAME : __token__
87-
88- install_script : |
89- python3 -m pip install twine
90-
91- get_artifacts_script : |
92- curl -sSLO $API_BASEURL/artifact/build/$CIRRUS_BUILD_ID/wheels.zip
93- unzip -q wheels.zip
94-
95- upload_script : |
96- case "$CIRRUS_TAG" in
97- v0.*)
98- export TWINE_REPOSITORY=pypi TWINE_PASSWORD=$PYPI_TOKEN ;;
99- *)
100- export TWINE_REPOSITORY=testpypi TWINE_PASSWORD=$TESTPYPI_TOKEN ;;
101- esac
102-
103- echo Uploading wheels to $TWINE_REPOSITORY...
104-
105- python3 -m twine check wheelhouse/*.whl
106- python3 -m twine upload --disable-progress-bar wheelhouse/*.whl
0 commit comments