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

Add an evergreen job to validate that all installed headers build #6954

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Sep 6, 2023

We've had a few issues with headers being added as dependencies of an installed header but not being installed, so add a CI job that validates that all installed headers can be compiled with only the other installed headers available. This also catches some incidental missing header inclusions where a header failes to include everything it depends on.

Only runs on macOS since Cocoa seems to be the only SDK which relies on this being valid.

We've had a few issues with headers being added as dependencies of an installed
header but not being installed, so add a CI job that validates that all
installed headers can be compiled with only the other installed headers
available. This also catches some incidental missing header inclusions where a
header failes to include everything it depends on.

Only runs on macOS since Cocoa seems to be the only SDK which relies on this
being valid.
@tgoyne tgoyne self-assigned this Sep 6, 2023
@cla-bot cla-bot bot added the cla: yes label Sep 6, 2023
@tgoyne tgoyne marked this pull request as ready for review September 6, 2023 19:08
@tgoyne tgoyne requested a review from ironage September 6, 2023 19:08
Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

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

Glad to have this finally checked by CI.
I verified a successful run of this new job here.

Copy link
Member

@fealebenpae fealebenpae left a comment

Choose a reason for hiding this comment

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

That's a pretty cool solution!

@tgoyne tgoyne merged commit aee8324 into master Sep 7, 2023
@tgoyne tgoyne deleted the tg/header-validation branch September 7, 2023 16:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants