Skip to content

Commit

Permalink
#39 #35 #28 manylinux local pillow build for old docker images; githu…
Browse files Browse the repository at this point in the history
…b ci: adding wheelhouse as artifact
  • Loading branch information
myselfhimself committed Jun 24, 2020
1 parent 482f82f commit a643e8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cpythonmanylinuxbuild_nosendpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5,3.6,3.7,3.8]
python-version: 3.5 #Python versions iteration happens within the manylinux docker images
plat: ['manylinux2010_x86_64', 'manylinux2010_i686', 'manylinux2014_x86_64', 'manylinux2014_i686']
include:
- plat: manylinux2010_i686
Expand Down Expand Up @@ -41,3 +41,8 @@ jobs:
run: |
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
bash build_tools.bash 33_build_manylinux # && bash build_tools.bash 11_send_to_pypi
- name: upload wheelhouse as artifact
uses: actions/upload-artifact@v2
with:
name: macos-gmicpy-wheels
path: wheelhouse/
4 changes: 4 additions & 0 deletions manylinux/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [ "1.2.51" \> "$(yum info libpng-devel | grep Version | cut -d':' -f2)" ]; th
mv libpng12 /usr/include/
fi

# Allow building Pillow from source if needed (on old Centos builds)
# Requirements inspired from Pillow's official Docker recipes at https://github.com/python-pillow/docker-images/blob/master/centos-6-amd64/Dockerfile
yum install ghostscript libtiff-devel libjpeg-devel zlib-devel freetype-devel lcms2-devel libwebp-devel openjpeg2-devel tkinter tcl-devel tk-devel libffi-devel -y

cd /io/


Expand Down

0 comments on commit a643e8b

Please sign in to comment.