Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add MSVC Debug Build #3784

Merged
merged 1 commit into from
Mar 10, 2022
Merged

CI: Add MSVC Debug Build #3784

merged 1 commit into from
Mar 10, 2022

Conversation

ax3l
Copy link
Collaborator

@ax3l ax3l commented Mar 7, 2022

Description

Add MSVC builds in Debug mode to CI.

cc @skottmckay

X-Ref.:

Suggested changelog entry:

* Add MSVC builds in debug mode to CI

@ax3l ax3l added the bug label Mar 7, 2022
@ax3l ax3l requested a review from henryiii as a code owner March 7, 2022 17:19
@ax3l
Copy link
Collaborator Author

ax3l commented Mar 7, 2022

Hm, cannot reproduce the issue from microsoft/onnxruntime#9735 (comment) @skottmckay

@ax3l
Copy link
Collaborator Author

ax3l commented Mar 7, 2022

Ah, 2.9.1 definitely fixes this (likely earlier as well, did not bisect).

run: >
cmake -S . -B build
-G "Visual Studio 16 2019" -A Win32
-DCMAKE_BUILD_TYPE=Debug
Copy link
Collaborator

Choose a reason for hiding this comment

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

I just took a quick look at ci.yml, IIUC we don't have a Windows Debug build (only the deadsnakes valgrind build uses Debug). I'm mildly surprised, maybe I'm just overlooking something (@henryiii)? If not, adding this win32-debug block seems very useful in general, especially because Windows debug builds are fairly tricky in general (from very long-ago past experience). Good to be sure we're covered.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let me reopen the PR then and remove the last commit, so we have coverage?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@ax3l ax3l reopened this Mar 7, 2022
@ax3l ax3l changed the title MSVC Debug Build CI: Add MSVC Debug Build Mar 8, 2022
@ax3l ax3l added ci related to the CI system and removed bug labels Mar 8, 2022
Copy link
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

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

Thanks Axel, looks great to me!

@henryiii did you see this? What do you think?

Copy link
Collaborator

@henryiii henryiii left a comment

Choose a reason for hiding this comment

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

OK by me.

@rwgk
Copy link
Collaborator

rwgk commented Mar 10, 2022

I'll merge this now, to get this into the smart_holder update.

@rwgk rwgk merged commit d75b353 into pybind:master Mar 10, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Mar 10, 2022
@henryiii henryiii removed the needs changelog Possibly needs a changelog entry label Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci related to the CI system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants