7777 fail-fast : true
7878 matrix :
7979 cibw_buildlinux : [ manylinux, musllinux ]
80- cibw_arch : [ "aarch64", "i686", " x86_64" ]
80+ cibw_arch : [ "aarch64", "x86_64" ]
8181 name : Pi-Heif • ${{ matrix.cibw_arch }} • ${{ matrix.cibw_buildlinux }}
8282 runs-on : ubuntu-20.04
8383 env :
@@ -100,18 +100,6 @@ jobs:
100100 - name : Install cibuildwheel & twine
101101 run : python3 -m pip install twine cibuildwheel==2.19.1
102102
103- - name : 32-bit musllinux preparations
104- if : matrix.cibw_buildlinux == 'musllinux' && matrix.cibw_arch == 'i686'
105- run : echo INSTALL_OS_PACKAGES="apk update && apk --no-cache add $OS_PACKAGES" >> $GITHUB_ENV
106- env :
107- OS_PACKAGES : " fribidi-dev harfbuzz-dev jpeg-dev lcms2-dev openjpeg-dev"
108-
109- - name : 32-bit manylinux preparations
110- if : matrix.cibw_buildlinux == 'manylinux' && matrix.cibw_arch == 'i686'
111- run : echo INSTALL_OS_PACKAGES="yum makecache && yum install -y $OS_PACKAGES" >> $GITHUB_ENV
112- env :
113- OS_PACKAGES : " libjpeg-turbo-devel lcms2-devel"
114-
115103 - uses : actions/cache@v4
116104 with :
117105 path : ${{ env.BUILD_DIR }}
@@ -143,62 +131,3 @@ jobs:
143131
144132 - name : Fix cache permissions
145133 run : sudo chmod -R 777 ${{ env.BUILD_DIR }}
146-
147- pi_heif_dependencies_linux_armv7 :
148- strategy :
149- fail-fast : true
150- matrix :
151- i : [
152- { "docker_file": "manylinux_armv7l_wheels", "name": "manylinux" },
153- { "docker_file": "musllinux_armv7l_wheels", "name": "musllinux" },
154- ]
155- v : ["3.10"]
156- name : Pi-Heif • ARMv7l • ${{ matrix.i['name'] }}
157- runs-on : ubuntu-20.04
158- env :
159- KEY_HEAD : Pi-Heif-ARMv7l-${{ matrix.i['name'] }}
160- BUILD_DIR : " ./build_cache"
161-
162- steps :
163- - uses : actions/checkout@v4
164- - name : Transform to Pi-Heif
165- run : |
166- cp -r -v ./pi-heif/* .
167- python3 .github/transform_to-pi_heif.py
168-
169- - name : Set up QEMU
170- uses : docker/setup-qemu-action@v3
171-
172- - uses : actions/cache@v4
173- with :
174- path : ${{ env.BUILD_DIR }}
175- key : ${{ env.KEY_HEAD }}-${{ env.KEY_C_BUILD }}-${{ env.KEY_LINUX_LIBS }}
176- env :
177- KEY_LINUX_LIBS : ${{ hashFiles('libheif/linux/**') }}
178- KEY_C_BUILD : ${{ hashFiles('libheif/linux_*.py') }}-${{ hashFiles('libheif/setup.py') }}
179-
180- - name : Build Pi-Heif
181- uses : docker/build-push-action@v6
182- with :
183- context : .
184- file : docker/${{ matrix.i['docker_file'] }}.Dockerfile
185- build-args : |
186- PY_VERSION=${{ matrix.v }}
187- platforms : linux/arm/v7
188- push : false
189- outputs : type=local,dest=./
190-
191- - name : Checking built wheels
192- run : |
193- python3 -m pip install twine
194- python3 -m twine check ./repaired_dist/*
195-
196- - name : Uploading wheels
197- uses : actions/upload-artifact@v3
198- with :
199- name : wheels_pi_heif
200- path : ./repaired_dist/*.whl
201- if-no-files-found : error
202-
203- - name : Fix cache permissions
204- run : sudo chmod -R 777 ${{ env.BUILD_DIR }}
0 commit comments