mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-02 15:03:42 +03:00
commit
b1f01c006b
5
.github/workflows/build.sh
vendored
5
.github/workflows/build.sh
vendored
|
@ -18,11 +18,6 @@ fi
|
||||||
|
|
||||||
if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then
|
if [[ "$MB_PYTHON_VERSION" == pypy3* ]]; then
|
||||||
MB_PYTHON_OSX_VER="10.9"
|
MB_PYTHON_OSX_VER="10.9"
|
||||||
if [[ "$PLAT" == "i686" ]]; then
|
|
||||||
DOCKER_TEST_IMAGE="multibuild/xenial_$PLAT"
|
|
||||||
fi
|
|
||||||
elif [[ "$MB_PYTHON_VERSION" == "3.11" ]] && [[ "$PLAT" == "i686" ]]; then
|
|
||||||
DOCKER_TEST_IMAGE="radarhere/bionic-$PLAT"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::group::Install a virtualenv"
|
echo "::group::Install a virtualenv"
|
||||||
|
|
14
.github/workflows/wheels-linux.yml
vendored
14
.github/workflows/wheels-linux.yml
vendored
|
@ -16,7 +16,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }}${{ matrix.mb-ml-ver }} ${{ matrix.platform }}
|
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }}${{ matrix.mb-ml-ver }}
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -30,38 +30,26 @@ jobs:
|
||||||
"3.11",
|
"3.11",
|
||||||
"3.12",
|
"3.12",
|
||||||
]
|
]
|
||||||
platform: [ "i686", "x86_64" ]
|
|
||||||
mb-ml-libc: [ "manylinux" ]
|
mb-ml-libc: [ "manylinux" ]
|
||||||
mb-ml-ver: [ 2014, "_2_28" ]
|
mb-ml-ver: [ 2014, "_2_28" ]
|
||||||
exclude:
|
|
||||||
- platform: "i686"
|
|
||||||
mb-ml-ver: "_2_28"
|
|
||||||
- platform: "i686"
|
|
||||||
python: "3.12"
|
|
||||||
include:
|
include:
|
||||||
- python: "3.8"
|
- python: "3.8"
|
||||||
platform: "x86_64"
|
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
- python: "3.9"
|
- python: "3.9"
|
||||||
platform: "x86_64"
|
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
- python: "3.10"
|
- python: "3.10"
|
||||||
platform: "x86_64"
|
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
- python: "3.11"
|
- python: "3.11"
|
||||||
platform: "x86_64"
|
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
- python: "3.12"
|
- python: "3.12"
|
||||||
platform: "x86_64"
|
|
||||||
mb-ml-libc: "musllinux"
|
mb-ml-libc: "musllinux"
|
||||||
mb-ml-ver: "_1_1"
|
mb-ml-ver: "_1_1"
|
||||||
env:
|
env:
|
||||||
BUILD_COMMIT: ${{ inputs.build-commit }}
|
BUILD_COMMIT: ${{ inputs.build-commit }}
|
||||||
PLAT: ${{ matrix.platform }}
|
|
||||||
MB_PYTHON_VERSION: ${{ matrix.python }}
|
MB_PYTHON_VERSION: ${{ matrix.python }}
|
||||||
MB_ML_LIBC: ${{ matrix.mb-ml-libc }}
|
MB_ML_LIBC: ${{ matrix.mb-ml-libc }}
|
||||||
MB_ML_VER: ${{ matrix.mb-ml-ver }}
|
MB_ML_VER: ${{ matrix.mb-ml-ver }}
|
||||||
|
|
|
@ -156,11 +156,7 @@ function run_tests {
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y curl libfribidi0 unzip
|
apt-get install -y curl libfribidi0 unzip
|
||||||
fi
|
fi
|
||||||
if [[ $(uname -m) == "i686" ]]; then
|
if [ -z "$IS_ALPINE" ] && [[ "$MB_PYTHON_VERSION" != 3.12 ]]; then
|
||||||
if [[ "$MB_PYTHON_VERSION" != 3.11 ]]; then
|
|
||||||
python3 -m pip install numpy==1.21
|
|
||||||
fi
|
|
||||||
elif [ -z "$IS_ALPINE" ] && [[ "$MB_PYTHON_VERSION" != 3.12 ]]; then
|
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user