2020-02-02 05:21:28 +01:00
|
|
|
branches:
|
2020-02-02 08:49:15 +01:00
|
|
|
only:
|
|
|
|
- master
|
2020-04-10 15:19:35 +02:00
|
|
|
- /^\d+(\.\d+)+((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?$/
|
2020-02-02 05:21:28 +01:00
|
|
|
|
2020-06-19 09:34:28 +02:00
|
|
|
language: python
|
|
|
|
|
2020-02-01 09:09:54 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TWINE_USERNAME=__token__
|
2020-03-01 04:59:05 +01:00
|
|
|
- MACOSX_DEPLOYMENT_TARGET=10.9
|
|
|
|
- CIBW_BEFORE_BUILD_MACOS=.ci/before-build-macos
|
2020-05-03 15:00:44 +02:00
|
|
|
- CIBW_BEFORE_BUILD_LINUX=.ci/before-build-manylinux2014
|
|
|
|
- CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
|
2020-05-02 13:03:57 +02:00
|
|
|
- CIBW_REPAIR_WHEEL_COMMAND_MACOS=".ci/repair-whl-macos {wheel} {dest_dir}"
|
|
|
|
- CIBW_TEST_REQUIRES=tox
|
2020-05-03 15:00:44 +02:00
|
|
|
- CIBW_TEST_COMMAND="tox -c {project}"
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-03-01 04:59:05 +01:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- openal-soft
|
|
|
|
- libvorbis
|
|
|
|
- opusfile
|
|
|
|
- libsndfile
|
|
|
|
|
2020-04-10 15:19:35 +02:00
|
|
|
install: python3 -m pip install twine cibuildwheel
|
2020-03-01 04:59:05 +01:00
|
|
|
|
2020-02-01 09:09:54 +01:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-03-01 04:59:05 +01:00
|
|
|
- os: osx
|
2020-04-10 15:19:35 +02:00
|
|
|
osx_image: xcode11.3
|
2020-03-01 04:59:05 +01:00
|
|
|
language: shell
|
2020-04-10 15:19:35 +02:00
|
|
|
env: CIBW_BUILD=cp36-macosx_x86_64
|
2020-02-01 09:09:54 +01:00
|
|
|
- services: docker
|
2020-11-08 14:05:20 +01:00
|
|
|
env: CIBW_BUILD="cp36-manylinux_x86_64 cp36-manylinux_aarch64"
|
2020-02-05 11:07:16 +01:00
|
|
|
- services: docker
|
2020-11-08 14:05:20 +01:00
|
|
|
env: CIBW_BUILD="cp37-manylinux_x86_64 cp37-manylinux_aarch64"
|
2020-02-05 11:07:16 +01:00
|
|
|
- services: docker
|
2020-11-08 14:05:20 +01:00
|
|
|
env: CIBW_BUILD="cp38-manylinux_x86_64 cp38-manylinux_aarch64"
|
|
|
|
- services: docker
|
|
|
|
env: CIBW_BUILD="cp39-manylinux_x86_64 cp39-manylinux_aarch64"
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-04-10 15:19:35 +02:00
|
|
|
script: python3 -m cibuildwheel --output-dir=dist
|
2020-02-01 09:09:54 +01:00
|
|
|
|
2020-02-01 11:35:38 +01:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
|
|
|
script: twine upload dist/*.whl
|
|
|
|
on:
|
|
|
|
tags: true
|