forked from gpgpu-sim/gpgpu-sim_distribution
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,11 +88,12 @@ jobs: | |
format-code: | ||
if: github.event_name == 'pull_request' | ||
runs-on: tgrogers-raid | ||
# needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] | ||
needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] | ||
steps: | ||
- name: Run clang-format | ||
run: | | ||
git clone -b ${{github.event.pull_request.head.ref}} [email protected]:${{github.event.pull_request.head.repo.full_name}} format-repo | ||
cd format-repo | ||
/bin/bash ./format-code.sh | ||
if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi | ||
rm -rf format-repo |