Fix build with 3rd party programs when using HIP #345
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
| name: format | |
| on: [push, pull_request] | |
| env: | |
| RCF_REPO_DIR: "run-clang-format" | |
| MGARD_REPO_DIR: "MGARD" | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - run: sudo apt-get install clang-format | |
| - uses: actions/[email protected] | |
| with: | |
| repository: Sarcasm/run-clang-format | |
| path: "${{ env.RCF_REPO_DIR }}" | |
| - uses: actions/[email protected] | |
| with: | |
| path: "${{ env.MGARD_REPO_DIR }}" | |
| - run: "\"${{ env.RCF_REPO_DIR }}/run-clang-format.py\" --clang-format-executable \"$(which clang-format)\" --extensions c,h,cpp,hpp,tpp --recursive \"${{ env.MGARD_REPO_DIR }}\"" |