71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
|
|
install_cibuildwheel_script:
|
|
- python -m pip install cibuildwheel==2.23.4
|
|
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}
|
|
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}
|
|
<<: *BUILD_AND_STORE_WHEELS
|
|
|
|
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
|
|
env:
|
|
VENV_ROOT: ${HOME}/venv-cibuildwheel
|
|
PATH: ${VENV_ROOT}/bin:${PATH}
|
|
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}
|
|
<<: *BUILD_AND_STORE_WHEELS
|
|
|
|
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
|
|
- refreshenv
|
|
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
|
|
<<: *BUILD_AND_STORE_WHEELS
|
|
|
|
macos_arm64_task:
|
|
name: Build macOS arm64 wheels.
|
|
macos_instance:
|
|
image: ghcr.io/cirruslabs/macos-runner:sonoma
|
|
env:
|
|
VENV_ROOT: ${HOME}/venv-cibuildwheel
|
|
PATH: ${VENV_ROOT}/bin:${PATH}
|
|
install_pre_requirements_script:
|
|
- brew install python@3.12
|
|
- python3.12 -m venv ${VENV_ROOT}
|
|
<<: *BUILD_AND_STORE_WHEELS
|