-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
CI: Add MSVC Debug Build #3784
Conversation
Hm, cannot reproduce the issue from microsoft/onnxruntime#9735 (comment) @skottmckay |
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this 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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK by me.
I'll merge this now, to get this into the smart_holder update. |
Description
Add MSVC builds in Debug mode to CI.
cc @skottmckay
X-Ref.:
Suggested changelog entry: