Skip to content

Commit dae5fdf

Browse files
authored
macos(x86) wheels: support macos10.5(Catalina) (#385)
Signed-off-by: Alexander Piskun <[email protected]>
1 parent fbd3167 commit dae5fdf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/wheels-pi_heif.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
run: brew uninstall --force --ignore-dependencies imagemagick libheif x265 aom libde265 jpeg-turbo
132132

133133
- name: Install libheif
134-
run: sudo PH_LIGHT_ACTION=1 python3 libheif/build_libs.py
134+
run: sudo PH_LIGHT_ACTION=1 MACOSX_DEPLOYMENT_TARGET="10.15" python3 libheif/build_libs.py
135135

136136
- name: Install dependencies for Pillow
137137
run: brew install libjpeg little-cms2
@@ -143,7 +143,7 @@ jobs:
143143
env:
144144
CIBW_ARCHS: "x86_64"
145145
CIBW_ENVIRONMENT_MACOS: PH_LIGHT_ACTION=1 TEST_DECODE_THREADS=0
146-
MACOSX_DEPLOYMENT_TARGET: "13.0"
146+
MACOSX_DEPLOYMENT_TARGET: "10.15"
147147

148148
- name: Check built wheels
149149
run: |

.github/workflows/wheels-pillow_heif.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
run: brew uninstall --force --ignore-dependencies imagemagick libheif x265 aom libde265 jpeg-turbo
119119

120120
- name: Install libheif
121-
run: sudo python3 libheif/build_libs.py
121+
run: sudo MACOSX_DEPLOYMENT_TARGET="10.15" python3 libheif/build_libs.py
122122

123123
- name: Install dependencies for Pillow
124124
run: brew install libjpeg little-cms2
@@ -130,7 +130,7 @@ jobs:
130130
env:
131131
CIBW_ARCHS: "x86_64"
132132
CIBW_ENVIRONMENT_MACOS: PH_FULL_ACTION=1 TEST_DECODE_THREADS=0
133-
MACOSX_DEPLOYMENT_TARGET: "13.0"
133+
MACOSX_DEPLOYMENT_TARGET: "10.15"
134134

135135
- name: Check built wheels
136136
run: |

0 commit comments

Comments
 (0)