Skip to content

Commit 2eeb5e6

Browse files
committed
ci: fetch only the Zephyr modules a CircuitPython board can use
west update in every Zephyr job fetched 80 projects, about 140 seconds, and the same again in zephyr-tests. CircuitPython has boards from seven vendors, so the HALs of the other vendors, and the libraries the port never enables, are filtered out with west's project filter. 37 projects remain and the update takes about 60 seconds. hal_infineon stays because the Pico W's CYW43 lives there, nanopb because the port's Kconfig sources it.
1 parent a156588 commit 2eeb5e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/actions/deps/ports/zephyr-cp/action.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ runs:
3232
with:
3333
app-path: zephyr-config
3434
base-path: ports/zephyr-cp
35+
# Skip the modules no CircuitPython board uses: HALs of vendors without a board
36+
# here, and libraries the port never enables. west update fetched 80 projects.
37+
# One token: the action passes it to west config unquoted.
38+
west-project-filter: -hal_adi,-hal_afbr,-hal_ambiq,-hal_atmel,-hal_bouffalolab,-hal_espressif,-hal_ethos_u,-hal_gigadevice,-hal_intel,-hal_microchip,-hal_nuvoton,-hal_openisa,-hal_quicklogic,-hal_realtek,-hal_sifli,-hal_tdk,-hal_telink,-hal_ti,-hal_wch,-hal_wurthelektronik,-hal_xtensa,-acpica,-cmsis-dsp,-cmsis-nn,-dhara,-liblc3,-libmctp,-libsbc,-lora-basics-modem,-loramac-node,-lvgl,-mipi-sys-t,-mldsa-native,-net-tools,-openthread,-percepio,-psa-arch-tests,-tf-m-tests,-trusted-firmware-a,-trusted-firmware-m,-uoscore-uedhoc,-zcbor,-zephyr-xenlib
3539
toolchains: arm-zephyr-eabi
3640
- name: Export cmake info
3741
run: west zephyr-export

0 commit comments

Comments
 (0)