forked from accel-sim/accel-sim-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Passed cuda_stream_id from accelsim to gpgpusim * Fixed for (auto k : kernels_info) in main() for multi-stream app * Passed streamID of last finished kernel to gpgpu_sim::print_stats * checkout correct gpgpu-sim branch for multi stream stats * Move Jenkins to bak * Adding merge_group trigger to worklow * rename jenkinsfile * Automated clang-format * update formatter * correct format script path --------- Co-authored-by: Justin Qiao <[email protected]> Co-authored-by: JRPan <[email protected]>
- Loading branch information
1 parent
8253fd6
commit f783a4c
Showing
7 changed files
with
26 additions
and
28 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 |
---|---|---|
|
@@ -48,29 +48,22 @@ jobs: | |
- name: Run Simulation | ||
run: echo "skipped Tracer-Simulation. Will perform in merge queue" | ||
format-code: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request' | ||
runs-on: tgrogers-raid | ||
needs: [SASS-Simulation, PTX-Simulation, Tracer-Tool] | ||
|
||
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 | ||
./gpu-simulator/format-code.sh | ||
./util/tracer_nvbit/tracer_tool/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' | ||
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 ./gpu-simulator/format-code.sh | ||
/bin/bash ./util/tracer_nvbit/tracer_tool/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 |
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