Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use cache to speed up CI for Python wheels #1161

@wbthomason

Description

@wbthomason

Currently the Python wheel build process must re-build Boost from source on every invocation, which takes a long time. It seems like we could combine the /host mount in cibuildwheel (https://cibuildwheel.pypa.io/en/stable/faq/#linux-builds-in-containers) with https://github.com/actions/cache (see also https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows) to build Boost once per (Python version, platform), then load this instead of rebuilding. Not 100% sure how to tell the cibuildwheel action to interact with cache, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions