Pillow/.travis.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

if: tag IS present OR type = api
2014-06-28 20:30:10 +04:00
env:
global:
2023-11-14 15:23:46 +03:00
- CIBW_ARCHS=aarch64
2023-11-15 07:47:24 +03:00
- CIBW_CONFIG_SETTINGS="raqm=enable raqm=vendor fribidi=vendor"
2023-11-16 02:10:10 +03:00
- CIBW_SKIP=pp38-*
2016-06-20 21:30:30 +03:00
language: python
# Default Python version is usually 3.6
python: "3.12"
dist: jammy
2016-06-20 21:30:30 +03:00
services: docker
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-15 07:47:24 +03:00
- python3 -m pip install cibuildwheel==2.16.2
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/"
# Upload wheels to GitHub Releases
deploy:
provider: releases
2021-09-15 16:39:03 +03:00
api_key: $GITHUB_RELEASE_TOKEN
file_glob: true
2023-11-14 15:23:46 +03:00
file: "${TRAVIS_BUILD_DIR}/wheelhouse/*.whl"
on:
repo: python-pillow/Pillow
tags: true
skip_cleanup: true