22 lines
598 B
YAML
22 lines
598 B
YAML
build_and_store_wheels: &BUILD_AND_STORE_WHEELS
|
|
install_cibuildwheel_script:
|
|
- python -m pip install cibuildwheel==2.23.0
|
|
run_cibuildwheel_script:
|
|
- cibuildwheel
|
|
wheels_artifacts:
|
|
path: "wheelhouse/*"
|
|
|
|
|
|
macos_task:
|
|
name: Build macOS x86_64 and arm64 wheels.
|
|
macos_instance:
|
|
image: ghcr.io/cirruslabs/macos-runner:sonoma
|
|
env:
|
|
VENV_ROOT: ${HOME}/venv-cibuildwheel
|
|
PATH: ${VENV_ROOT}/bin:${PATH}
|
|
CIBW_ARCHS_MACOS: x86_64 arm64
|
|
install_pre_requirements_script:
|
|
- brew install python@3.12
|
|
- python3.12 -m venv ${VENV_ROOT}
|
|
<<: *BUILD_AND_STORE_WHEELS
|