Skip to content

docs: add Windows support to CircleCI guide and minimal example (#2075) - #3067

Open
TheVicky1 wants to merge 3 commits into
pypa:mainfrom
TheVicky1:doc-circleci-windows
Open

TheVicky1 wants to merge 3 commits into
pypa:mainfrom
TheVicky1:doc-circleci-windows

Conversation

@TheVicky1

Copy link
Copy Markdown
Contributor

CircleCI supports Windows machine execution via the windows-default image (windows.medium resource class), but docs/ci-services.md and examples/circleci-minimal.yml only referenced [linux/mac].

This change:

  1. Updates the CircleCI section heading in docs/ci-services.md to ### CircleCI [linux/mac/windows] {: #circleci} and clarifies that Windows builds are supported.
  2. Adds a standard windows-wheels job to examples/circleci-minimal.yml using the official windows-default machine executor and adds it to the workflow, consistent with the other multi-platform minimal examples (Azure Pipelines, GitHub Actions).

Closes #2075.

@joerick

joerick commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

I'd also want to add a very basic check on CircleCI to our own CI config, if we're claiming to support it.

@TheVicky1

Copy link
Copy Markdown
Contributor Author

Makes total sense added a windows job to .circleci/config.yml using windows-default (windows.medium) running unit_test, main_tests, and test_0_basic, matching the scope of the other CircleCI jobs.

@agriyakhetarpal

Copy link
Copy Markdown
Member

I think it would be nice to update this table as well: https://github.com/pypa/cibuildwheel#usage

@TheVicky1

Copy link
Copy Markdown
Contributor Author

Thanks for pointing that out, @agriyakhetarpal! Added the for Windows under CircleCI in README.md.

@agriyakhetarpal agriyakhetarpal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CircleCI Windows job is red, with: "Job was rejected because resource class medium, image windows-default is not a valid resource class"

From https://circleci.com/docs/guides/execute/using-windows, it's not immediately clear to me; we probably either need an orb to use windows-default or we need to switch the image as I suggest in my comment below?

Comment thread .circleci/config.yml
Comment on lines +66 to +69
windows:
machine:
image: windows-default
resource_class: windows.medium

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
windows:
machine:
image: windows-default
resource_class: windows.medium
windows:
machine:
image: windows-server-2022-gui:current
resource_class: windows.medium

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows build is supported in Circle CI

3 participants