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 CI test for clang formatting #342

Merged
merged 10 commits into from
Feb 5, 2025

Conversation

SeverinDiederichs
Copy link
Collaborator

@SeverinDiederichs SeverinDiederichs commented Feb 4, 2025

This PR adds a quick CI test for checking the clang formatting.

I'll expect this to fail because some files are not properly formatted.
Next step will be to format those and then keep them formatted in the future.

After quite some version issues, the AdePT CI now uses clang-format 19.1.7, as this is the latest version available for ubuntu 22.04, which is used by the CI.
Note that the formatting doesn't always agree with 18.1.3 or 18.1.8, therefore an update to 19.1.7 might be required to pass the CI.

@phsft-bot
Copy link

Can one of the admins verify this patch?

@agheata agheata merged commit b1bda50 into apt-sim:master Feb 5, 2025
3 checks passed
@SeverinDiederichs SeverinDiederichs deleted the enforce_clang_format branch February 5, 2025 16:38
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