2023-10-07 15:49:35 +03:00
|
|
|
if: tag IS present OR type = api
|
2023-09-24 15:51:42 +03:00
|
|
|
|
2014-06-28 20:30:10 +04:00
|
|
|
env:
|
2015-09-18 23:41:42 +03:00
|
|
|
global:
|
2023-11-14 15:23:46 +03:00
|
|
|
- CIBW_ARCHS=aarch64
|
2023-11-16 02:10:10 +03:00
|
|
|
- CIBW_SKIP=pp38-*
|
2016-06-20 21:30:30 +03:00
|
|
|
|
|
|
|
language: python
|
2020-03-19 00:06:32 +03:00
|
|
|
# Default Python version is usually 3.6
|
2023-10-29 12:41:49 +03:00
|
|
|
python: "3.12"
|
|
|
|
dist: jammy
|
2016-06-20 21:30:30 +03:00
|
|
|
services: docker
|
|
|
|
|
2020-03-18 12:09:30 +03:00
|
|
|
jobs:
|
2016-06-20 21:30:30 +03:00
|
|
|
include:
|
2023-11-15 07:47:24 +03:00
|
|
|
- name: "manylinux2014 aarch64"
|
2022-05-31 03:12:20 +03:00
|
|
|
os: linux
|
|
|
|
arch: arm64
|
2023-11-15 07:47:24 +03:00
|
|
|
env:
|
|
|
|
- CIBW_BUILD="*manylinux*"
|
|
|
|
- CIBW_MANYLINUX_AARCH64_IMAGE=manylinux2014
|
|
|
|
- CIBW_MANYLINUX_PYPY_AARCH64_IMAGE=manylinux2014
|
2023-11-14 15:23:46 +03:00
|
|
|
- name: "manylinux_2_28 aarch64"
|
2022-12-12 03:52:31 +03:00
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
env:
|
2023-11-15 07:47:24 +03:00
|
|
|
- CIBW_BUILD="*manylinux*"
|
|
|
|
- CIBW_MANYLINUX_AARCH64_IMAGE=manylinux_2_28
|
|
|
|
- CIBW_MANYLINUX_PYPY_AARCH64_IMAGE=manylinux_2_28
|
|
|
|
- name: "musllinux aarch64"
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
env:
|
|
|
|
- CIBW_BUILD="*musllinux*"
|
2014-06-28 20:30:10 +04:00
|
|
|
|
|
|
|
install:
|
2023-11-28 00:48:47 +03:00
|
|
|
- python3 -m pip install -r .ci/requirements-cibw.txt
|
2014-06-28 20:30:10 +04:00
|
|
|
|
|
|
|
script:
|
2023-11-14 15:23:46 +03:00
|
|
|
- python3 -m cibuildwheel --output-dir wheelhouse
|
|
|
|
- ls -l "${TRAVIS_BUILD_DIR}/wheelhouse/"
|
2015-09-18 23:41:42 +03:00
|
|
|
|
2020-07-07 18:03:04 +03:00
|
|
|
# Upload wheels to GitHub Releases
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
2021-09-15 16:39:03 +03:00
|
|
|
api_key: $GITHUB_RELEASE_TOKEN
|
2020-07-07 18:03:04 +03:00
|
|
|
file_glob: true
|
2023-11-14 15:23:46 +03:00
|
|
|
file: "${TRAVIS_BUILD_DIR}/wheelhouse/*.whl"
|
2020-07-07 18:03:04 +03:00
|
|
|
on:
|
2023-09-24 15:51:42 +03:00
|
|
|
repo: python-pillow/Pillow
|
2022-05-18 09:35:24 +03:00
|
|
|
tags: true
|
2020-07-07 18:03:04 +03:00
|
|
|
skip_cleanup: true
|