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

Report more warnings, summarize job output #1996

Merged

Conversation

dmitriy-sobolev
Copy link
Contributor

@dmitriy-sobolev dmitriy-sobolev commented Jan 9, 2025

Addresses #1850, with #1994 being an additional motivator.

This PR adds -Wall (for GCC/Clang/ICX/ICPX) and /W4 (for MSVC) compiler flags to detect various warnings, such as unused variables, dangerous type conversions and other.

The number of warnings is large to the extent it can be challenging to navigate through the log files. To address this, the PR also adds a summary for each CI job to simplify analysis of their outputs.

The summary looks like:
job_summary
and can be found on the actions tab.

@dmitriy-sobolev dmitriy-sobolev added the test Test only Change label Jan 9, 2025
@dmitriy-sobolev dmitriy-sobolev force-pushed the report-build-warnings branch 3 times, most recently from 2a6b63b to d4b9eeb Compare January 22, 2025 20:18
Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

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

Other than the comment about cl version, this LGTM. I think this is a very good change. Thanks Dmitriy!

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@mmichel11 mmichel11 left a comment

Choose a reason for hiding this comment

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

Great addition! The new warning reports LGTM.

@dmitriy-sobolev dmitriy-sobolev merged commit 101f747 into uxlfoundation:main Feb 20, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement test Test only Change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants