File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -40,19 +40,27 @@ jobs:
4040 if : steps.cache-build.outputs.cache-hit != 'true'
4141 run : mkdir build && cmake -Bbuild src
4242
43+ - name : install custom clang version
44+ if : runner.os == 'Windows' && matrix.clang-version == '20'
45+ uses : KyleMayes/install-llvm-action@v2
46+ with :
47+ version : 21.1.8
48+ directory : ${{ runner.temp }}/llvm
49+
4350 - name : Run linter as action
4451 uses : cpp-linter/cpp-linter-action@fix-364
4552 id : linter
4653 env :
4754 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ llvm-dir : ${{ runner.temp }}/llvm
4856 with :
4957 style : file
5058 files-changed-only : false
5159 # to ignore all build folder contents
5260 ignore : build
5361 database : build
5462 verbosity : debug
55- version : ${{ matrix.clang-version != '20' && matrix.clang-version || '' }}
63+ version : ${{ matrix.clang-version == '20' && runner.os == 'Windows' && env.llvm-dir || matrix.clang-version }}
5664 thread-comments : ${{ matrix.clang-version == '17' && 'update' }}
5765 file-annotations : ${{ matrix.clang-version == '17' }}
5866 extra-args : -std=c++14 -Wall
You can’t perform that action at this time.
0 commit comments