Skip to content

Commit

Permalink
[CI] Update clang-format to version 11
Browse files Browse the repository at this point in the history
Match the clang toolchain version used by LLPC CI.
  • Loading branch information
kuhar authored and JaxLinAMD committed Dec 15, 2021
1 parent 5584bc5 commit c05ce19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-formatting-cache-creator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Setup environment
run: |
sudo apt-get install -yqq clang-format-10
sudo apt-get install -yqq clang-format-11
- name: Checkout XGL
run: |
git clone https://github.com/${GITHUB_REPOSITORY}.git .
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Run clang-format
run: |
git diff ${{ github.base_ref }} -U0 --no-color -- 'tools/cache_creator/**/*.cpp' 'tools/cache_creator/**/*.h' \
| clang-format-diff-10 -p1 >not-formatted.diff 2>&1
| clang-format-diff-11 -p1 >not-formatted.diff 2>&1
- name: Check formatting
run: |
if ! grep -q '[^[:space:]]' not-formatted.diff ; then
Expand Down

0 comments on commit c05ce19

Please sign in to comment.