Skip to content

Commit a3062e3

Browse files
authored
Merge pull request python-pillow#301 from radarhere/manylinux
Added manylinux_2_28
2 parents a7f3b8e + e98de97 commit a3062e3

File tree

3 files changed

+41
-6
lines changed

3 files changed

+41
-6
lines changed

.github/workflows/wheels-linux.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,37 @@ env:
1616

1717
jobs:
1818
build:
19-
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }} ${{ matrix.platform }}
19+
name: ${{ matrix.python }} ${{ matrix.mb-ml-libc }}${{ matrix.mb-ml-ver }} ${{ matrix.platform }}
2020
runs-on: "ubuntu-20.04"
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
python: [ "pypy3.7-7.3.9", "pypy3.8-7.3.9", "3.7", "3.8", "3.9", "3.10" ]
2525
platform: [ "i686", "x86_64" ]
2626
mb-ml-libc: [ "manylinux" ]
27+
mb-ml-ver: [ 2014, "_2_28" ]
28+
exclude:
29+
- platform: "i686"
30+
mb-ml-ver: "_2_28"
2731
include:
2832
- python: "3.8"
2933
platform: "x86_64"
3034
mb-ml-libc: "musllinux"
35+
mb-ml-ver: "_1_1"
3136
- python: "3.9"
3237
platform: "x86_64"
3338
mb-ml-libc: "musllinux"
39+
mb-ml-ver: "_1_1"
3440
- python: "3.10"
3541
platform: "x86_64"
3642
mb-ml-libc: "musllinux"
43+
mb-ml-ver: "_1_1"
3744
env:
3845
BUILD_COMMIT: ${{ inputs.build-commit }}
3946
PLAT: ${{ matrix.platform }}
4047
MB_PYTHON_VERSION: ${{ matrix.python }}
4148
MB_ML_LIBC: ${{ matrix.mb-ml-libc }}
49+
MB_ML_VER: ${{ matrix.mb-ml-ver }}
4250
steps:
4351
- uses: actions/checkout@v3
4452
with:

.travis.yml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,51 @@ services: docker
1313

1414
jobs:
1515
include:
16-
- name: "3.7 Focal aarch64"
16+
- name: "3.7 Focal manylinux2014 aarch64"
1717
arch: arm64
1818
env:
19+
- MB_ML_VER=2014
1920
- MB_PYTHON_VERSION=3.7
20-
- name: "3.8 Focal aarch64"
21+
- name: "3.7 Focal manylinux_2_28 aarch64"
22+
arch: arm64
23+
env:
24+
- MB_ML_VER="_2_28"
25+
- MB_PYTHON_VERSION=3.7
26+
- name: "3.8 Focal manylinux2014 aarch64"
27+
os: linux
28+
arch: arm64
29+
env:
30+
- MB_ML_VER=2014
31+
- MB_PYTHON_VERSION=3.8
32+
- name: "3.8 Focal manylinux_2_28 aarch64"
2133
os: linux
2234
arch: arm64
2335
env:
36+
- MB_ML_VER="_2_28"
2437
- MB_PYTHON_VERSION=3.8
25-
- name: "3.9 Focal aarch64"
38+
- name: "3.9 Focal manylinux2014 aarch64"
2639
os: linux
2740
arch: arm64
2841
env:
42+
- MB_ML_VER=2014
2943
- MB_PYTHON_VERSION=3.9
30-
- name: "3.10 Focal aarch64"
44+
- name: "3.9 Focal manylinux_2_28 aarch64"
45+
os: linux
46+
arch: arm64
47+
env:
48+
- MB_ML_VER="_2_28"
49+
- MB_PYTHON_VERSION=3.9
50+
- name: "3.10 Focal manylinux2014 aarch64"
51+
os: linux
52+
arch: arm64
53+
env:
54+
- MB_ML_VER=2014
55+
- MB_PYTHON_VERSION=3.10
56+
- name: "3.10 Focal manylinux_2_28 aarch64"
3157
os: linux
3258
arch: arm64
3359
env:
60+
- MB_ML_VER="_2_28"
3461
- MB_PYTHON_VERSION=3.10
3562

3663
before_install:

config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [[ -n "$IS_MACOS" ]]; then
1717
else
1818
GIFLIB_VERSION=5.2.1
1919
fi
20-
if [[ -n "$IS_MACOS" ]] || [[ -n "$IS_ALPINE" ]]; then
20+
if [[ -n "$IS_MACOS" ]] || [[ "$MB_ML_VER" != 2014 ]]; then
2121
ZLIB_VERSION=1.2.12
2222
else
2323
ZLIB_VERSION=1.2.8

0 commit comments

Comments
 (0)