Skip to content

Set build-time env vars about the current build for scripts to use #944

Open
@joerick

Description

@joerick

We already set CIBUILDWHEEL=1 for our builds, so we could add CIBUILDWHEEL_BUILD_IDENTIFIER - the CIBUILDWHEEL prefix distinguishing these variables from CIBW options.

Originally posted by @joerick in #910 (reply in thread)

Or just CIBUILDWHEEL_BUILD might work.
An arch variable was also mooted, which might be easier to switch on. In this naming structure, that would be CIBUILDWHEEL_BUILD_ARCH

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions