mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Remove version spec from IDF tests
This commit is contained in:
parent
e704648b67
commit
96bfd024a1
7 changed files with 22 additions and 15 deletions
15
.clang-tidy
15
.clang-tidy
|
@ -85,8 +85,21 @@ Checks: >-
|
|||
-readability-redundant-string-init,
|
||||
-readability-uppercase-literal-suffix,
|
||||
-readability-use-anyofallof,
|
||||
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
||||
-cppcoreguidelines-macro-to-enum,
|
||||
-cppcoreguidelines-use-default-member-init,
|
||||
-misc-const-correctness,
|
||||
-misc-include-cleaner,
|
||||
-misc-use-anonymous-namespace,
|
||||
-modernize-macro-to-enum,
|
||||
-modernize-type-traits,
|
||||
-modernize-use-constraints,
|
||||
-performance-enum-size,
|
||||
-readability-avoid-nested-conditional-operator,
|
||||
-readability-container-contains,
|
||||
-readability-redundant-inline-specifier,
|
||||
-readability-redundant-member-init,
|
||||
WarningsAsErrors: '*'
|
||||
AnalyzeTemporaryDtors: false
|
||||
FormatStyle: google
|
||||
CheckOptions:
|
||||
- key: google-readability-function-size.StatementThreshold
|
||||
|
|
|
@ -139,7 +139,7 @@ extra_scripts = post:esphome/components/esp32/post_build.py.script
|
|||
extends = common:idf
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.06/platform-espressif32.zip
|
||||
platform_packages =
|
||||
pioarduino/framework-espidf@https://github.com/pioarduino/esp-idf/releases/download/v5.1.4.241024/esp-idf-v5.1.4.zip
|
||||
pioarduino/framework-espidf@https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
|
||||
|
||||
framework = espidf
|
||||
lib_deps =
|
||||
|
|
|
@ -64,7 +64,7 @@ def clang_options(idedata):
|
|||
# allow to condition code on the presence of clang-tidy
|
||||
"-DCLANG_TIDY",
|
||||
# (esp-idf) Disable this header because they use asm with registers clang-tidy doesn't know
|
||||
"-D__XTENSA_API_H__",
|
||||
# "-D__XTENSA_API_H__",
|
||||
# (esp-idf) Fix __once_callable in some libstdc++ headers
|
||||
"-D_GLIBCXX_HAVE_TLS",
|
||||
]
|
||||
|
@ -101,9 +101,11 @@ def clang_options(idedata):
|
|||
for directory in list(idedata["includes"]["build"]):
|
||||
# skip our own directories, we add those later
|
||||
if (
|
||||
not directory.startswith(f"{root_path}/")
|
||||
or directory.startswith(f"{root_path}/.pio/")
|
||||
or directory.startswith(f"{root_path}/managed_components/")
|
||||
not directory.startswith(f"{root_path}")
|
||||
or directory.startswith(f"{root_path}/.pio")
|
||||
or directory.startswith(f"{root_path}/.platformio")
|
||||
or directory.startswith(f"{root_path}/.temp")
|
||||
or directory.startswith(f"{root_path}/managed_components")
|
||||
):
|
||||
cmd.extend(["-isystem", directory])
|
||||
|
||||
|
@ -235,7 +237,7 @@ def main():
|
|||
|
||||
failed_files = []
|
||||
try:
|
||||
executable = get_binary("clang-tidy", 14)
|
||||
executable = get_binary("clang-tidy", 18)
|
||||
task_queue = queue.Queue(args.jobs)
|
||||
lock = threading.Lock()
|
||||
for _ in range(args.jobs):
|
||||
|
|
|
@ -6,8 +6,6 @@ esp32:
|
|||
board: lolin_c3_mini
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 5.1.4
|
||||
release: "241024"
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
|
|
@ -6,8 +6,6 @@ esp32:
|
|||
board: nodemcu-32s
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 5.1.4
|
||||
release: "241024"
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
|
|
@ -7,8 +7,6 @@ esp32:
|
|||
variant: ESP32S2
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 5.1.4
|
||||
release: "241024"
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
|
|
@ -7,8 +7,6 @@ esp32:
|
|||
variant: ESP32S3
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 5.1.4
|
||||
release: "241024"
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
|
Loading…
Reference in a new issue