Merge main into reframe-ci branch
#30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) 2025 ETH Zurich | |
| name: Format | |
| on: | |
| merge_group: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| format: | |
| name: Check Code Formatting | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Install clang-format | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-format-16 | |
| - name: Run clang-format | |
| run: | | |
| shopt -s globstar nullglob | |
| clang-format-16 --dry-run --Werror **/*.{cpp,c,hpp,h,cu,cuh} |