mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 05:36:48 +03:00
commit
e9bb5dd131
6
.github/workflows/build.sh
vendored
6
.github/workflows/build.sh
vendored
|
@ -29,13 +29,13 @@ echo "::group::Install a virtualenv"
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
echo "::group::Build wheel"
|
echo "::group::Build wheel"
|
||||||
clean_code $REPO_DIR $BUILD_COMMIT
|
clean_code
|
||||||
build_wheel $REPO_DIR $PLAT
|
build_wheel
|
||||||
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
|
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
|
if [[ $MACOSX_DEPLOYMENT_TARGET != "11.0" ]]; then
|
||||||
echo "::group::Test wheel"
|
echo "::group::Test wheel"
|
||||||
install_run $PLAT
|
install_run
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
21
.travis.yml
21
.travis.yml
|
@ -2,9 +2,8 @@ env:
|
||||||
global:
|
global:
|
||||||
- REPO_DIR=Pillow
|
- REPO_DIR=Pillow
|
||||||
- BUILD_COMMIT=HEAD
|
- BUILD_COMMIT=HEAD
|
||||||
- PLAT=x86_64
|
- PLAT=aarch64
|
||||||
- UNICODE_WIDTH=32
|
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
||||||
- BUILD_DEPENDS=""
|
|
||||||
- TEST_DEPENDS="pytest pytest-timeout"
|
- TEST_DEPENDS="pytest pytest-timeout"
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
|
@ -18,30 +17,22 @@ jobs:
|
||||||
- name: "3.7 Focal aarch64"
|
- name: "3.7 Focal aarch64"
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
- PLAT=aarch64
|
|
||||||
- MB_PYTHON_VERSION=3.7
|
- MB_PYTHON_VERSION=3.7
|
||||||
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
||||||
- name: "3.8 Focal aarch64"
|
- name: "3.8 Focal aarch64"
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
- PLAT=aarch64
|
|
||||||
- MB_PYTHON_VERSION=3.8
|
- MB_PYTHON_VERSION=3.8
|
||||||
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
||||||
- name: "3.9 Focal aarch64"
|
- name: "3.9 Focal aarch64"
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
- PLAT=aarch64
|
|
||||||
- MB_PYTHON_VERSION=3.9
|
- MB_PYTHON_VERSION=3.9
|
||||||
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
||||||
- name: "3.10 Focal aarch64"
|
- name: "3.10 Focal aarch64"
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
- PLAT=aarch64
|
|
||||||
- MB_PYTHON_VERSION=3.10
|
- MB_PYTHON_VERSION=3.10
|
||||||
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- source multibuild/common_utils.sh
|
- source multibuild/common_utils.sh
|
||||||
|
@ -50,13 +41,12 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Maybe get and clean and patch source
|
# Maybe get and clean and patch source
|
||||||
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=main; fi
|
- clean_code
|
||||||
- clean_code $REPO_DIR $BUILD_COMMIT
|
- build_wheel
|
||||||
- build_wheel $REPO_DIR $PLAT
|
|
||||||
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
|
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- install_run $PLAT
|
- install_run
|
||||||
|
|
||||||
# Upload wheels to GitHub Releases
|
# Upload wheels to GitHub Releases
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -65,6 +55,5 @@ deploy:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
|
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
|
||||||
on:
|
on:
|
||||||
condition: -z "$LATEST"
|
|
||||||
repo: python-pillow/pillow-wheels
|
repo: python-pillow/pillow-wheels
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user