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 clang-format check to CI #2816

Merged
merged 5 commits into from
Jan 31, 2024
Merged

Conversation

ramiro050
Copy link
Collaborator

@ramiro050 ramiro050 commented Jan 27, 2024

This PR adds a check to the CI right after checking out the Torch-MLIR repository to make sure that the changes in the PR don't require any git clang-format modifications.

@ramiro050
Copy link
Collaborator Author

@ramiro050
Copy link
Collaborator Author

I don't have much experience with Github actions, so let me know if I'm doing something terribly wrong 🙂

@ramiro050 ramiro050 marked this pull request as ready for review January 27, 2024 00:37
Copy link
Collaborator

@qedawkins qedawkins left a comment

Choose a reason for hiding this comment

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

LGTM! I don't have any experience either though

@stellaraccident
Copy link
Collaborator

Over the weekend, I switched us off of buildAndTest (to ci.yml). I created a dedicated lint pipeline. Should be trivial to add there: https://github.com/llvm/torch-mlir/blob/main/.github/workflows/lint.yml

@ramiro050 ramiro050 force-pushed the clang-format branch 13 times, most recently from 44cae2a to 4561970 Compare January 30, 2024 00:56
This PR adds a check to the CI right after checking out the Torch-MLIR
repository to make sure that the changes in the PR don't require any
`git clang-format` modifications.
@ramiro050
Copy link
Collaborator Author

ramiro050 commented Jan 30, 2024

@ramiro050 ramiro050 requested a review from qedawkins January 30, 2024 01:02
Copy link
Collaborator

@stellaraccident stellaraccident left a comment

Choose a reason for hiding this comment

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

Thanks much

@stellaraccident stellaraccident merged commit 1a7442e into llvm:main Jan 31, 2024
3 checks passed
@ramiro050 ramiro050 deleted the clang-format branch January 31, 2024 17:33
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.

3 participants