-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
969 changed files
with
15,906 additions
and
13,426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,48 @@ | ||
--- | ||
Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*' | ||
HeaderFilterRegex: '' | ||
AnalyzeTemporaryDtors: false | ||
User: slavey | ||
Checks: | ||
-* | ||
bugprone-* | ||
-bugprone-macro-parentheses | ||
-bugprone-reserved-identifier | ||
-bugprone-easily-swappable-parameters | ||
clang-analyzer-* | ||
performance-* | ||
portability-* | ||
cppcoreguidelines-* | ||
-cppcoreguidelines-avoid-c-arrays | ||
-cppcoreguidelines-avoid-do-while | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay | ||
-cppcoreguidelines-macro-usage | ||
-cppcoreguidelines-pro-type-reinterpret-cast | ||
-cppcoreguidelines-pro-type-static-cast-downcast | ||
-cppcoreguidelines-pro-type-vararg | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic | ||
-cppcoreguidelines-pro-bounds-constant-array-index | ||
-cppcoreguidelines-pro-type-union-access | ||
-cppcoreguidelines-avoid-const-or-ref-data-members | ||
-cppcoreguidelines-non-private-member-variables-in-classes | ||
HeaderFilterRegex: '.*' | ||
CheckOptions: | ||
- key: google-readability-braces-around-statements.ShortStatementLines | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: llvm | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: llvm | ||
- key: modernize-use-nullptr.NullMacros | ||
value: 'NULL' | ||
- key: google-readability-braces-around-statements.ShortStatementLines | ||
value: '1' | ||
- key: google-readability-function-size.StatementThreshold | ||
value: '800' | ||
- key: google-readability-namespace-comments.ShortNamespaceLines | ||
value: '10' | ||
- key: google-readability-namespace-comments.SpacesBeforeComments | ||
value: '2' | ||
- key: modernize-loop-convert.MaxCopySize | ||
value: '16' | ||
- key: modernize-loop-convert.MinConfidence | ||
value: reasonable | ||
- key: modernize-loop-convert.NamingStyle | ||
value: CamelCase | ||
- key: modernize-pass-by-value.IncludeStyle | ||
value: llvm | ||
- key: modernize-replace-auto-ptr.IncludeStyle | ||
value: llvm | ||
- key: cppcoreguidelines-pro-type-static-cast-downcast.StrictMode | ||
value: false | ||
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors | ||
value: true | ||
... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Cache clean | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
clean_opt: | ||
description: 'Level of cleaning required' | ||
type: choice | ||
default: push-requests | ||
options: | ||
- pull-requests | ||
- ccache | ||
- idf-tools | ||
- ccache+idf | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cleanup | ||
run: | | ||
gh extension install actions/gh-actions-cache | ||
echo "Fetching list of cache keys" | ||
case $CLEAN_OPT in | ||
pull-requests) | ||
filter="-v develop" | ||
;; | ||
ccache) | ||
filter="ccache" | ||
;; | ||
idf-tools) | ||
filter="idf" | ||
;; | ||
ccache+idf) | ||
filter="ccache\|idf" | ||
;; | ||
*) | ||
echo "Unknown option '$CLEAN_OPT'" | ||
exit 1 | ||
;; | ||
esac | ||
cacheKeys=$(gh actions-cache list -R $REPO -L 100 | grep $filter | cut -f 1 ) | ||
echo "Deleting caches..." | ||
set +e | ||
for cacheKey in $cacheKeys; do | ||
gh actions-cache delete "$cacheKey" -R "$REPO" --confirm | ||
done | ||
echo "Done" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO: ${{ github.repository }} | ||
CLEAN_OPT: ${{ inputs.clean_opt }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.