Skip to content

Build manylinux wheels #40

Build manylinux wheels

Build manylinux wheels #40

Workflow file for this run

name: Build manylinux wheels
on: workflow_dispatch
jobs:
build-manylinux-wheels:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build wheels with cibuildwheel
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_ARCHS: "x86_64"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BUILD: "cp310-manylinux* cp311-manylinux* cp312-manylinux* cp313-manylinux*"
CIBW_ENVIRONMENT: |
OLD_SKIA=1
CXXFLAGS+=" -D OLD_SKIA "
CPPFLAGS="-I/usr/local/include"
LDFLAGS="-L/usr/local/lib"
CIBW_ENVIRONMENT_PASS_LINUX: OLD_SKIA CXXFLAGS CPPFLAGS LDFLAGS
CIBW_BEFORE_ALL_LINUX: bash ci/manylinux-build-deps
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel -v repair -w {dest_dir} {wheel}"
CIBW_TEST_COMMAND: bash {package}/ci/manylinux-test {wheel}
- uses: actions/upload-artifact@v4
with:
name: wheels_intel_manylinux
path: ./wheelhouse/*.whl