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 pio_cache_key: tidyesp32-idf
- id: clang-tidy - id: clang-tidy
name: Run script/clang-tidy for ZEPHYR 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 pio_cache_key: tidy-zephyr
steps: steps:

View file

@ -404,9 +404,18 @@ build_flags =
-DUSE_HOST -DUSE_HOST
-std=c++17 -std=c++17
;;;;;;;; nRF52 ;;;;;;;;
[env:nrf52] [env:nrf52]
extends = common:nrf52-zephyr extends = common:nrf52-zephyr
board = adafruit_feather_nrf52840 board = adafruit_feather_nrf52840
build_flags = build_flags =
${common:nrf52-zephyr.build_flags} ${common:nrf52-zephyr.build_flags}
${flags:runtime.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}