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.
Merge branch 'dev' into stream-stats
- Loading branch information
Showing
9 changed files
with
83 additions
and
23 deletions.
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ name: Short-Tests | |
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the mydev branch | ||
push: | ||
branches-ignore: | ||
- "gh-readonly-queue**" | ||
|
@@ -86,25 +85,21 @@ jobs: | |
- name: Run Simulation | ||
run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh | ||
format-code: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request' | ||
runs-on: tgrogers-raid | ||
needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] | ||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the | ||
# added or changed files to the repository. | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Other steps that change files in the repository go here | ||
# … | ||
with: | ||
ref: ${{github.event.pull_request.head.ref}} | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
ssh-key: '' | ||
|
||
- name: Run clang-format | ||
run: | | ||
sudo apt-get install -y clang-format | ||
git config user.name "purdue-jenkins" | ||
git config user.email "[email protected]" | ||
git remote set-url origin [email protected]:${{github.event.pull_request.head.repo.full_name}} | ||
git remote -v | ||
/bin/bash ./format-code.sh | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
# Optional. Commit message for the created commit. | ||
# Defaults to "Apply automatic changes" | ||
commit_message: Automated clang-format | ||
# Optional. Option used by `git-status` to determine if the repository is | ||
# dirty. See https://git-scm.com/docs/git-status#_options | ||
status_options: '--untracked-files=no' | ||
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 |
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
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
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
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
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
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
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
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