Skip to content

Commit

Permalink
Change test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Apr 30, 2024
1 parent 9e0e1f2 commit 5f64fc3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
name: clang-tidy
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install clang-tidy
run: |
sudo apt install clang-tidy
Expand Down
2 changes: 2 additions & 0 deletions cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

#pragma message(CAPSTONE_MSVC_WRANING_PREFIX "Windows driver does not support full features for selected architecture(s). Define CAPSTONE_DIET to compile Capstone with only supported features. See issue #681 for details.")

// Some change

#undef CAPSTONE_MSVC_WRANING_PREFIX
#undef CAPSTONE_STR
#undef CAPSTONE_STR_INTERNAL
Expand Down
7 changes: 6 additions & 1 deletion run-clang-tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ top_level=$(git rev-parse --show-toplevel)
echo "\n\n###### REPORT\n\n"

git pull origin next
changed_files=$(git diff --name-only origin/next)
if [ $? -ne 0 ]; then
echo "Failed to pull origin/next."
exit 1
fi

changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }})
if [ $? -ne 0 ]; then
echo "Failed to get changed files."
exit 1
Expand Down

0 comments on commit 5f64fc3

Please sign in to comment.