Skip to content

Speeding up the CI/CD pipeline #155

Open
@madig

Description

CI takes too much time to run.

Using ccache in #146 helps some, but not on Windows (need to get it to work there). The following can be a starting point for making ccache work on Windows, also see https://github.com/ccache/ccache/wiki/MS-Visual-Studio:

[tool.cibuildwheel.windows]
before-all = "choco install ccache"
before-test = "ccache --show-stats"
build-verbosity = 3  # For debugging.

[tool.cibuildwheel.windows.environment]
CC = "ccache.exe cl.exe"  # Seems to be ignored?

The other thing to try is breaking up CI runs into per-platform, per-version. Maybe Cython could also be using the stable Python ABI, so we compile just once for many versions.

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