~cnx/palace

ref: 566911efad316b626c63a1b8611fdfff52b9de66 palace/.travis.yml -rw-r--r-- 1.3 KiB
566911efNguyễn Gia Phong Build wheels for CPython 3.9 and manylinux aarch64 1 year, 25 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
branches:
  only:
    - master
    - /^\d+(\.\d+)+((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?$/

language: python

env:
  global:
    - TWINE_USERNAME=__token__
    - MACOSX_DEPLOYMENT_TARGET=10.9
    - CIBW_BEFORE_BUILD_MACOS=.ci/before-build-macos
    - CIBW_BEFORE_BUILD_LINUX=.ci/before-build-manylinux2014
    - CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
    - CIBW_REPAIR_WHEEL_COMMAND_MACOS=".ci/repair-whl-macos {wheel} {dest_dir}"
    - CIBW_TEST_REQUIRES=tox
    - CIBW_TEST_COMMAND="tox -c {project}"

addons:
  homebrew:
    packages:
      - openal-soft
      - libvorbis
      - opusfile
      - libsndfile

install: python3 -m pip install twine cibuildwheel

jobs:
  include:
    - os: osx
      osx_image: xcode11.3
      language: shell
      env: CIBW_BUILD=cp36-macosx_x86_64
    - services: docker
      env: CIBW_BUILD="cp36-manylinux_x86_64 cp36-manylinux_aarch64"
    - services: docker
      env: CIBW_BUILD="cp37-manylinux_x86_64 cp37-manylinux_aarch64"
    - services: docker
      env: CIBW_BUILD="cp38-manylinux_x86_64 cp38-manylinux_aarch64"
    - services: docker
      env: CIBW_BUILD="cp39-manylinux_x86_64 cp39-manylinux_aarch64"

script: python3 -m cibuildwheel --output-dir=dist

deploy:
  skip_cleanup: true
  provider: script
  script: twine upload dist/*.whl
  on:
    tags: true