Pillow/.travis.yml
2023-11-14 23:23:46 +11:00

43 lines
910 B
YAML

if: tag IS present OR type = api
env:
global:
- CIBW_ARCHS=aarch64
language: python
# Default Python version is usually 3.6
python: "3.12"
dist: jammy
services: docker
jobs:
include:
- name: "manylinux2014 and musllinux aarch64"
os: linux
arch: arm64
- name: "manylinux_2_28 aarch64"
os: linux
arch: arm64
env:
- CIBW_BUILD: "*manylinux*"
- CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
- CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux_2_28"
install:
- python3 -m pip install cibuildwheel
script:
- python3 -m cibuildwheel --output-dir wheelhouse
- ls -l "${TRAVIS_BUILD_DIR}/wheelhouse/"
# Upload wheels to GitHub Releases
deploy:
provider: releases
api_key: $GITHUB_RELEASE_TOKEN
file_glob: true
file: "${TRAVIS_BUILD_DIR}/wheelhouse/*.whl"
on:
repo: python-pillow/Pillow
tags: true
skip_cleanup: true