11
11
12
12
jobs :
13
13
cpp-linter :
14
+ name : cpp-linter job
14
15
runs-on : windows-latest
15
16
16
- strategy :
17
- matrix :
18
- clang-version : ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
19
- repo : ['cpp-linter/cpp-linter']
20
- branch :
21
- - ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'hide-reuse-pr-reviews' }}
22
- fail-fast : false
17
+ # strategy:
18
+ # matrix:
19
+ # clang-version: ['17'] # ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
20
+ # repo: ['cpp-linter/cpp-linter']
21
+ # branch:
22
+ # - ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'hide-reuse-pr-reviews' }}
23
+ # fail-fast: false
23
24
24
25
steps :
25
26
@@ -32,10 +33,10 @@ jobs:
32
33
python-version : 3.x
33
34
34
35
- name : Install workflow deps
35
- run : python -m pip install clang-tools git+https://github.com/${{ matrix.repo }}/@${{ matrix.branch }}
36
+ run : python -m pip install clang-tools git+https://github.com/cpp-linter/cpp-linter/
36
37
37
38
- name : Install clang-tools
38
- run : clang-tools --install ${{ matrix.clang-version }} --directory ${{ runner.temp }}/llvm
39
+ run : clang-tools --install 17 --directory ${{ runner.temp }}/llvm
39
40
40
41
- name : Setup VS dev env
41
42
uses : TheMrMilchmann/setup-msvc-dev@v3
@@ -66,10 +67,11 @@ jobs:
66
67
-V=${{ runner.temp }}/llvm
67
68
-f=false
68
69
--extra-arg="-std=c++14 -Wall"
69
- --thread-comments=${{ matrix.clang-version == '17' && 'update' }}
70
- -a=${{ matrix.clang-version == '17' }}
71
- --tidy-review=${{ matrix.clang-version == '17' }}
72
- --format-review=${{ matrix.clang-version == '17' }}
70
+ --thread-comments=update
71
+ -a=false
72
+ --tidy-review=17
73
+ --format-review=17
74
+ --step-summary=true
73
75
74
76
- name : Fail fast?!
75
77
if : steps.linter.outputs.checks-failed > 0
0 commit comments