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

75 lines
2.1 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:
2026-03-05 09:00:28 +00:00
- python -m pip install cibuildwheel==3.4.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:
2025-06-10 17:57:25 -04:00
- certutil -generateSSTFromWU roots.sst
- certutil -addstore -f root roots.sst
- del roots.sst
- choco install -y --no-progress python3 --version 3.12.4
2022-07-24 01:19:30 +02:00
- refreshenv
2025-06-10 17:57:25 -04:00
- powershell -Command "$cleanPath = $env:PATH -replace ';+$', ''; Add-Content -Path $env:CIRRUS_ENV -Value ('PATH=' + $cleanPath)"
2022-07-24 01:19:30 +02:00
<<: *BUILD_AND_STORE_WHEELS
macos_arm64_task:
name: Build macOS arm64 wheels.
macos_instance:
2025-04-14 23:20:26 +02:00
image: ghcr.io/cirruslabs/macos-runner:sequoia
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