Skip to content

Conversation

@avik-pal
Copy link
Collaborator

@avik-pal avik-pal commented Feb 13, 2025

Coping over from EnzymeJAX repo

All changes to the cpp files are from running clang-format

@avik-pal avik-pal requested review from giordano and wsmoses February 13, 2025 15:06
Copy link
Member

@giordano giordano left a comment

Choose a reason for hiding this comment

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

Looks good, apart from splitting the formatting jobs in distinct workflows

Comment on lines 32 to 38
code-style-cpp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.18.2
with:
source: 'deps'
Copy link
Member

Choose a reason for hiding this comment

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

I think it'd be cleaner to have this as a separate workflow which runs only when touching C++ files. As it is now this is running also when touching Julia files only (and the Julia formatter runs unnecessarily when touching C++ files only)

avik-pal and others added 2 commits February 13, 2025 10:20
Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
@avik-pal avik-pal merged commit ce0c590 into main Feb 13, 2025
28 of 31 checks passed
@avik-pal avik-pal deleted the ap/format_cpp branch February 13, 2025 15:28
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