File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,21 +86,21 @@ jobs:
8686 # - create the .cpp-linter_cache folder
8787 # - list the files concerning the benchmark test
8888 # 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
9090 - name : Run hyperfine tool
9191 # 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 .
9393 working-directory : libgit2
9494 run : >-
9595 hyperfine
96- --runs 1
96+ --runs 2
9797 --style color
9898 --export-markdown '${{ runner.temp }}/benchmark.md'
9999 --export-json '${{ runner.temp }}/benchmark.json'
100100 --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 "
102102 --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 "
104104 - name : Append report to job summary
105105 run : cat ${{ runner.temp }}/benchmark.md >> $GITHUB_STEP_SUMMARY
106106 - name : Upload JSON results
You can’t perform that action at this time.
0 commit comments