Files
cibuildwheel/examples/cirrus-ci-minimal.yml
T

71 lines
1.9 KiB
YAML
Raw Normal View History

2022-07-24 01:19:30 +02:00
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
install_cibuildwheel_script:
2024-08-03 22:37:32 -04:00
- python -m pip install cibuildwheel==2.20.0
2022-07-24 01:19:30 +02:00
run_cibuildwheel_script:
- cibuildwheel
wheels_artifacts:
path: "wheelhouse/*"
linux_x86_task:
name: Build Linux x86 wheels.
compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder
platform: linux
cpu: 4
memory: 4G
env:
VENV_ROOT: ${HOME}/venv-cibuildwheel
PATH: ${VENV_ROOT}/bin:${PATH}
2022-07-24 01:19:30 +02:00
install_pre_requirements_script:
- add-apt-repository -y ppa:deadsnakes/ppa
- apt-get update
- apt-get install -y python3.12-venv
- python3.12 -m venv ${VENV_ROOT}
2022-07-24 01:19:30 +02:00
<<: *BUILD_AND_STORE_WHEELS
2022-08-23 19:39:20 +02:00
linux_aarch64_task:
name: Build Linux aarch64 wheels.
2022-08-23 17:36:31 +02:00
compute_engine_instance:
image_project: cirrus-images
image: family/docker-builder-arm64
architecture: arm64
platform: linux
cpu: 4
memory: 4G
env:
VENV_ROOT: ${HOME}/venv-cibuildwheel
PATH: ${VENV_ROOT}/bin:${PATH}
2022-08-23 17:36:31 +02:00
install_pre_requirements_script:
- add-apt-repository -y ppa:deadsnakes/ppa
- apt-get update
- apt-get install -y python3.12-venv
- python3.12 -m venv ${VENV_ROOT}
2022-08-23 17:36:31 +02:00
<<: *BUILD_AND_STORE_WHEELS
2022-07-24 01:19:30 +02:00
windows_x86_task:
name: Build Windows x86 wheels.
windows_container:
image: cirrusci/windowsservercore:visualstudio2022
cpu: 4
memory: 4G
install_pre_requirements_script:
- choco install -y --no-progress python3 --version 3.12.4
2022-07-24 01:19:30 +02:00
- refreshenv
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
<<: *BUILD_AND_STORE_WHEELS
macos_arm64_task:
name: Build macOS arm64 wheels.
macos_instance:
2024-03-11 20:54:37 +00:00
image: ghcr.io/cirruslabs/macos-sonoma-xcode
2022-07-24 01:19:30 +02:00
env:
VENV_ROOT: ${HOME}/venv-cibuildwheel
PATH: ${VENV_ROOT}/bin:${PATH}
2022-07-24 01:19:30 +02:00
install_pre_requirements_script:
- brew install python@3.12
- python3.12 -m venv ${VENV_ROOT}
2022-07-24 01:19:30 +02:00
<<: *BUILD_AND_STORE_WHEELS