Create nrf52-tidy env too

This commit is contained in:
Jesse Hills 2024-07-23 12:59:27 +12:00
parent 2c48466243
commit b66d3793f5
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A
2 changed files with 10 additions and 1 deletions

View file

@ -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:

View file

@ -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}