mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 22:14:54 +01:00
Create nrf52-tidy env too
This commit is contained in:
parent
2c48466243
commit
b66d3793f5
2 changed files with 10 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -291,7 +291,7 @@ jobs:
|
|||
pio_cache_key: tidyesp32-idf
|
||||
- id: clang-tidy
|
||||
name: Run script/clang-tidy for ZEPHYR
|
||||
options: --environment nrf52 --grep USE_ZEPHYR
|
||||
options: --environment nrf52-tidy --grep USE_ZEPHYR
|
||||
pio_cache_key: tidy-zephyr
|
||||
|
||||
steps:
|
||||
|
|
|
@ -404,9 +404,18 @@ build_flags =
|
|||
-DUSE_HOST
|
||||
-std=c++17
|
||||
|
||||
;;;;;;;; nRF52 ;;;;;;;;
|
||||
|
||||
[env:nrf52]
|
||||
extends = common:nrf52-zephyr
|
||||
board = adafruit_feather_nrf52840
|
||||
build_flags =
|
||||
${common:nrf52-zephyr.build_flags}
|
||||
${flags:runtime.build_flags}
|
||||
|
||||
[env:nrf52-tidy]
|
||||
extends = common:nrf52-zephyr
|
||||
board = adafruit_feather_nrf52840
|
||||
build_flags =
|
||||
${common:nrf52-zephyr.build_flags}
|
||||
${flags:clangtidy.build_flags}
|
||||
|
|
Loading…
Reference in a new issue