@@ -2,14 +2,10 @@ name: Publish • Pi-Heif
22# This action build `pi-heif` which is `pillow-heif` but without `aom` and `x265` libraries.
33
44on :
5- workflow_run :
6- workflows : [Publish • Pillow-Heif]
7- types :
8- - completed
5+ workflow_call :
96
107jobs :
118 wheels_macos_arm :
12- if : ${{ github.event.workflow_run.conclusion == 'success'}}
139 name : macosx • aarch64
1410 runs-on : ubuntu-20.04
1511
3531 if-no-files-found : error
3632
3733 wheels_windows :
38- if : ${{ github.event.workflow_run.conclusion == 'success'}}
3934 name : windows • x86_64
4035 runs-on : windows-2019
4136 env :
8984 if-no-files-found : error
9085
9186 wheels_macos :
92- if : ${{ github.event.workflow_run.conclusion == 'success'}}
9387 name : macosx • x86_64
9488 runs-on : macos-11
9589
@@ -121,7 +115,6 @@ jobs:
121115 if-no-files-found : error
122116
123117 wheels_linux_cpython :
124- if : ${{ github.event.workflow_run.conclusion == 'success'}}
125118 strategy :
126119 fail-fast : true
127120 matrix :
@@ -152,6 +145,10 @@ jobs:
152145 env :
153146 OS_PACKAGES : " fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
154147
148+ - name : Only minimal testing on aarch64
149+ if : matrix.cibw_arch == 'aarch64'
150+ run : echo CIBW_TEST_EXTRAS="tests-min" >> $GITHUB_ENV
151+
155152 - name : Run cibuildwheel
156153 run : |
157154 python3 -m pip install cibuildwheel==2.11.4
@@ -175,7 +172,6 @@ jobs:
175172 if-no-files-found : error
176173
177174 wheels_linux_pypy :
178- if : ${{ github.event.workflow_run.conclusion == 'success'}}
179175 strategy :
180176 fail-fast : true
181177 matrix :
@@ -201,6 +197,10 @@ jobs:
201197 with :
202198 platforms : arm64
203199
200+ - name : Only minimal testing on aarch64
201+ if : matrix.cibw_arch == 'aarch64'
202+ run : echo CIBW_TEST_EXTRAS="tests-min" >> $GITHUB_ENV
203+
204204 - name : Run cibuildwheel
205205 run : |
206206 python3 -m pip install cibuildwheel==2.11.4
@@ -224,7 +224,6 @@ jobs:
224224 if-no-files-found : error
225225
226226 wheels_armv7l :
227- if : ${{ github.event.workflow_run.conclusion == 'success'}}
228227 name : ${{ matrix.i['name'] }} • ARMv7l • CPython
229228 runs-on : ubuntu-20.04
230229 strategy :
@@ -267,7 +266,6 @@ jobs:
267266 if-no-files-found : error
268267
269268 sdist :
270- if : ${{ github.event.workflow_run.conclusion == 'success'}}
271269 name : Source distribution
272270 runs-on : macos-12
273271
@@ -311,7 +309,6 @@ jobs:
311309 path : wheelhouse/*.tar.gz
312310
313311 publish_release :
314- if : ${{ github.event.workflow_run.conclusion == 'success'}}
315312 needs : [wheels_windows, wheels_macos, wheels_macos_arm, wheels_linux_cpython, wheels_linux_pypy, sdist, wheels_armv7l]
316313 name : Publish release
317314 runs-on : ubuntu-20.04
0 commit comments