46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
linux:
|
|
image: python:3.8
|
|
# make a docker daemon available for cibuildwheel to use
|
|
services:
|
|
- name: docker:dind
|
|
entrypoint: ["env", "-u", "DOCKER_HOST"]
|
|
command: ["dockerd-entrypoint.sh"]
|
|
variables:
|
|
DOCKER_HOST: tcp://docker:2375/
|
|
DOCKER_DRIVER: overlay2
|
|
# See https://github.com/docker-library/docker/pull/166
|
|
DOCKER_TLS_CERTDIR: ""
|
|
script:
|
|
- curl -sSL https://get.docker.com/ | sh
|
|
- python -m pip install cibuildwheel==2.11.3
|
|
- cibuildwheel --output-dir wheelhouse
|
|
parallel:
|
|
matrix:
|
|
- CIBW_BUILD:
|
|
- cp36-manylinux*
|
|
- cp37-manylinux*
|
|
- cp38-manylinux*
|
|
- cp39-manylinux*
|
|
- cp310-manylinux*
|
|
- cp311-manylinux*
|
|
- pp37-manylinux*
|
|
- pp38-manylinux*
|
|
- pp39-manylinux*
|
|
artifacts:
|
|
paths:
|
|
- wheelhouse/
|
|
|
|
#windows:
|
|
# image: mcr.microsoft.com/windows/servercore:1809
|
|
# before_script:
|
|
# - choco install python -y --version 3.8.6
|
|
# - choco install git.install -y
|
|
# - py -m pip install cibuildwheel==2.11.3
|
|
# script:
|
|
# - py -m cibuildwheel --output-dir wheelhouse --platform windows
|
|
# artifacts:
|
|
# paths:
|
|
# - wheelhouse/
|
|
# tags:
|
|
# - windows
|