-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
30 lines (26 loc) · 939 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
install_cibuildwheel_script:
- python -m pip install cibuildwheel==2.16.2
run_cibuildwheel_script:
- cibuildwheel
wheels_artifacts:
path: "wheelhouse/*"
# Upload only for tagged commit
only_if: $CIRRUS_TAG != ''
publish_script:
- python -m pip install twine
- python -m twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ wheelhouse/*.whl
linux_aarch64_task:
name: Build Linux aarch64 wheels.
compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder-arm64
architecture: arm64
platform: linux
cpu: 4
memory: 4G
environment:
TWINE_PASSWORD: ENCRYPTED[c06553df9d8d52500784b41f5c45afce5329d3397cf8e7e2a6dd82990e3f32b4362efabc028a213eacf9fc0181acfb86]
install_pre_requirements_script:
- apt install -y python3-venv python-is-python3
<<: *BUILD_AND_STORE_WHEELS