File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,21 +86,21 @@ jobs:
86
86
# - create the .cpp-linter_cache folder
87
87
# - list the files concerning the benchmark test
88
88
# NOTE: This does not actually invoke clang tools.
89
- run : ../previous/cpp-linter -l 0 -p build -i='|!src/libgit2' -s="" -c="-*"
89
+ run : ../previous/cpp-linter -l 0 -p build -i='|!src/libgit2' -s="" -c="-*" -e c
90
90
- name : Run hyperfine tool
91
91
# using the generated compilation database,
92
- # we will use cpp-linter (both builds) to scan libgit2 sources .
92
+ # we will use cpp-linter (both builds) to scan libgit2 src/libgit2/**.c files .
93
93
working-directory : libgit2
94
94
run : >-
95
95
hyperfine
96
- --runs 1
96
+ --runs 2
97
97
--style color
98
98
--export-markdown '${{ runner.temp }}/benchmark.md'
99
99
--export-json '${{ runner.temp }}/benchmark.json'
100
100
--command-name=previous-build
101
- "../previous/cpp-linter -l 0 -p build -i='|!src/libgit2'"
101
+ "../previous/cpp-linter -l 0 -p build -i='|!src/libgit2' -e c "
102
102
--command-name=current-build
103
- "../current/cpp-linter -l 0 -p build -i='|!src/libgit2'"
103
+ "../current/cpp-linter -l 0 -p build -i='|!src/libgit2' -e c "
104
104
- name : Append report to job summary
105
105
run : cat ${{ runner.temp }}/benchmark.md >> $GITHUB_STEP_SUMMARY
106
106
- name : Upload JSON results
You can’t perform that action at this time.
0 commit comments