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

Test building P4C with ENABLE_GTESTS=OFF in CI #4719

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

qobilidop
Copy link
Member

In #4715, some building issues with ENABLE_GTESTS=OFF have been identified. Adding this variation in CI can help catch such issues early on in the future.

@qobilidop
Copy link
Member Author

The building issues reported in #4715 can be caught by the updated CI, as expected:

strategy:
fail-fast: false
matrix:
gtest: [ON, OFF]
Copy link
Collaborator

Choose a reason for hiding this comment

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

We unfortunately have limited CI resources, the more tests we add the slower they run. I would fold this into the UNITY=OFF test run, i.e, disable GTEST when we do not use a Unity build.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@fruffy fruffy added the infrastructure Topics related to code style and build and test infrastructure. label Jun 11, 2024
@fruffy fruffy enabled auto-merge June 11, 2024 17:19
@fruffy fruffy added this pull request to the merge queue Jun 11, 2024
Merged via the queue into p4lang:main with commit d94c4b2 Jun 11, 2024
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Topics related to code style and build and test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants