Skip to content

Commit 5323472

Browse files
committed
update get-deps for ci
1 parent 1234111 commit 5323472

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Get Dependencies
9595
run: |
9696
b=`find hw/bsp/${{ matrix.family }}/boards -depth -maxdepth 1 -type d -name '[^.]?*' -printf %f -quit`
97-
make BOARD={b} get-deps
97+
make -C examples/device/board_test BOARD=${b} get-deps
9898
9999
- name: Build
100100
run: python3 tools/build_family.py ${{ matrix.family }}

tools/build_board.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import sys
33
import time
4+
import subprocess
45
from multiprocessing import Pool
56

67
import build_utils
@@ -38,6 +39,10 @@ def filter_with_input(mylist):
3839
filter_with_input(all_boards)
3940
all_boards.sort()
4041

42+
# Get dependencies
43+
for b in all_boards:
44+
subprocess.run("make -C examples/device/board_test BOARD={} get-deps".format(b), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
45+
4146
print(build_separator)
4247
print(build_utils.build_format.format('Example', 'Board', '\033[39mResult\033[0m', 'Time', 'Flash', 'SRAM'))
4348
total_time = time.monotonic()

0 commit comments

Comments
 (0)