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 a config to build and run on PRs. #213

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

snehasish
Copy link
Collaborator

Currently the CI config targets 22.04 with tests being run for the LLVM tools built with clang. We also build GCOV tools built with GCC but do not test them yet since a couple of tests are failing.

Also fix the commit hash check.

Currently the CI config targets 22.04 with tests being run for the LLVM
tools built with clang. We also build GCOV tools built with GCC but do
not test them yet since a couple of tests are failing.

Also fix the commit hash check.
push:
branches: [ $default-branch ]
pull_request:
types: [opened, reopened, synchronize]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this trigger CI when user updates his PR? (Do we also want "edited"?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Assuming by update you mean adding more commits I think that is covered by synchronize. Edited covers the cases where title, description or base branch is edited [1]. Let me know if you still think it's worth adding the edited.

[1] https://frontside.com/blog/2020-05-26-github-actions-pull_request/

@shenhanc78
Copy link
Collaborator

Thanks. LGTM.

@snehasish snehasish merged commit cc24b2e into google:master Jul 18, 2024
2 checks passed
@snehasish snehasish deleted the ci-build branch July 18, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants