Skip to content

Add optional dependency on pyvips-binary #1

Add optional dependency on pyvips-binary

Add optional dependency on pyvips-binary #1

Workflow file for this run

name: Wheels
on: [push, pull_request]
jobs:
wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2022, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Install pkg-config
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
with:
msystem: ucrt64
install: mingw-w64-ucrt-x86_64-pkg-config
- name: Put MSYS2 on PATH
if: runner.os == 'Windows'
run: Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\msys64\ucrt64\bin"
- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: pyvips-binary
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: wheelhouse/*.whl
if-no-files-found: error