Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/build_test_deploy_all_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jobs:
with:
python-version: 3.9 # Works as bootstrap for cibuildwheel

- name: Install libjpeg-dev
if: matrix.os == 'manylinux'
run: sudo apt-get update && sudo apt-get install -y libjpeg-dev

- name: Install cibuildwheel and nox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools==73.0.1
python -m pip install cibuildwheel==2.16.2
python -m pip install nox

Expand All @@ -45,11 +42,13 @@ jobs:
run: python -m nox --sessions build_sdist

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
run: |
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ matrix.cibw_build }}
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_BEFORE_ALL: yum install -y libjpeg-devel zlib-devel libpng-devel
CIBW_ENVIRONMENT: "PIP_ONLY_BINARY=pillow PIP_NO_BUILD_ISOLATION=1"
CIBW_BEFORE_ALL: "pip install --only-binary=:all: pillow"

- name: Test wheels (only on macOS ARM64)
if: matrix.os == 'macOS-ARM'
Expand Down
Loading