mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
env:
|
|
global:
|
|
- REPO_DIR=Pillow
|
|
- BUILD_COMMIT=HEAD
|
|
- PLAT=x86_64
|
|
- UNICODE_WIDTH=32
|
|
- BUILD_DEPENDS=""
|
|
- TEST_DEPENDS="pytest pytest-timeout"
|
|
|
|
language: python
|
|
# Default Python version is usually 3.6
|
|
python: "3.10"
|
|
dist: focal
|
|
services: docker
|
|
|
|
jobs:
|
|
include:
|
|
- name: "3.7 Focal aarch64"
|
|
arch: arm64
|
|
env:
|
|
- PLAT=aarch64
|
|
- MB_PYTHON_VERSION=3.7
|
|
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
- name: "3.8 Focal aarch64"
|
|
os: linux
|
|
arch: arm64
|
|
env:
|
|
- PLAT=aarch64
|
|
- MB_PYTHON_VERSION=3.8
|
|
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
- name: "3.9 Focal aarch64"
|
|
os: linux
|
|
arch: arm64
|
|
env:
|
|
- PLAT=aarch64
|
|
- MB_PYTHON_VERSION=3.9
|
|
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
- name: "3.10 Focal aarch64"
|
|
os: linux
|
|
arch: arm64
|
|
env:
|
|
- PLAT=aarch64
|
|
- MB_PYTHON_VERSION=3.10
|
|
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
|
|
before_install:
|
|
- source multibuild/common_utils.sh
|
|
- source multibuild/travis_steps.sh
|
|
- before_install
|
|
|
|
install:
|
|
# Maybe get and clean and patch source
|
|
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=main; fi
|
|
- clean_code $REPO_DIR $BUILD_COMMIT
|
|
- build_wheel $REPO_DIR $PLAT
|
|
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
|
|
|
|
script:
|
|
- install_run $PLAT
|
|
|
|
# Upload wheels to GitHub Releases
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_RELEASE_TOKEN
|
|
file_glob: true
|
|
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
|
|
on:
|
|
condition: -z "$LATEST"
|
|
repo: python-pillow/pillow-wheels
|
|
skip_cleanup: true
|