diff --git a/.clang-tidy.hash b/.clang-tidy.hash index 15f83cc676..f2b148342f 100644 --- a/.clang-tidy.hash +++ b/.clang-tidy.hash @@ -1 +1 @@ -3a15fb76625aa7e92916fd328b96208b1c7328208b30e4506d57a6af2c6b6a4d +499db61c1aa55b98b6629df603a56a1ba7aff5a9a7c781a5c1552a9dcd186c08 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ccd562193..bb038cb8aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -318,16 +318,12 @@ jobs: echo "::add-matcher::.github/workflows/matchers/gcc.json" echo "::add-matcher::.github/workflows/matchers/clang-tidy.json" - - name: Run 'pio run --list-targets' for ESP32 builds - if: contains(matrix.name, 'ESP32') + - name: Run 'pio run --list-targets -e esp32-idf-tidy' + if: matrix.name == 'Run script/clang-tidy for ESP32 IDF' run: | . venv/bin/activate mkdir -p .temp - if [[ "${{ matrix.name }}" == *"IDF"* ]]; then - pio run --list-targets -e esp32-idf-tidy - else - pio run --list-targets -e esp32-arduino-tidy - fi + pio run --list-targets -e esp32-idf-tidy - name: Check if full clang-tidy scan needed id: check_full_scan diff --git a/platformio.ini b/platformio.ini index 59c06cf3a2..70b562adff 100644 --- a/platformio.ini +++ b/platformio.ini @@ -129,7 +129,7 @@ platform = https://github.com/pioarduino/platform-espressif32/releases/download/ platform_packages = pioarduino/framework-arduinoespressif32@https://github.com/espressif/arduino-esp32/releases/download/3.2.1/esp32-3.2.1.zip -framework = arduino +framework = arduino, espidf ; Arduino as an ESP-IDF component lib_deps = ; order matters with lib-deps; some of the libs in common:arduino.lib_deps ; don't declare built-in libraries as dependencies, so they have to be declared first