fix(tests): Add missing files to compilation tests (#10501)

* fix(tests): Add CMakeLists file to compilation tests

* fix(tests): Add variant files that are used in compilation

* fix(c2): Move C2 as it is only tested as component

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
This commit is contained in:
Lucas Saavedra Vaz 2024-10-23 05:45:30 -03:00 committed by GitHub
parent 0f5219df0e
commit a0139bc37d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,12 +21,20 @@ on:
- 'idf_component.yml'
- 'Kconfig.projbuild'
- 'package.json'
- 'CMakeLists.txt'
- '.github/workflows/push.yml'
- '.github/scripts/**'
- '!.github/scripts/find_*'
- '!.github/scripts/on-release.sh'
- '!.github/scripts/tests_*'
- '!.github/scripts/upload_*'
- "variants/esp32/**/*"
- "variants/esp32s2/**/*"
- "variants/esp32s3/**/*"
- "variants/esp32c2/**/*"
- "variants/esp32c3/**/*"
- "variants/esp32c6/**/*"
- "variants/esp32h2/**/*"
concurrency:
group: build-${{github.event.pull_request.number || github.ref}}
@ -74,6 +82,12 @@ jobs:
- '!tools/platformio-build.py'
- 'platform.txt'
- 'programmers.txt'
- "variants/esp32/**/*"
- "variants/esp32s2/**/*"
- "variants/esp32s3/**/*"
- "variants/esp32c3/**/*"
- "variants/esp32c6/**/*"
- "variants/esp32h2/**/*"
libraries:
- 'libraries/**/examples/**'
- 'libraries/**/src/**'
@ -92,6 +106,8 @@ jobs:
idf:
- 'idf_component.yml'
- 'Kconfig.projbuild'
- 'CMakeLists.txt'
- "variants/esp32c2/**/*"
platformio:
- 'package.json'
- '.github/scripts/install-platformio-esp32.sh'