Repository navigation
Commit 05384ce
committed
ci: build only the Zephyr boards that have the changed module
ci_set_matrix.py cannot ask make which Zephyr boards compile a module,
so a change to any module built all 29 of them, and a frozen library
update too although the port has no frozen modules.
The module table of a Zephyr board is only known to its build, which
writes it to autogen_board_info.toml. Keep it: build_release_files.py
copies the file the push build generated to bin/zephyr-modules/<ref>/
<board>.toml, from where the existing bin/ upload puts it on S3 next to
mpy-cross and the stubs. The scheduler fetches it for the PR's base ref
and builds a board when the table says the module is enabled, or when
the table is missing, unreadable or does not know the module. frozen/
changes build no Zephyr boards; supervisor/ changes still build all.
Until the first push build after this lands there is no table and
every Zephyr board is built, as today. ZEPHYR_MODULES_URL overrides the
location for testing.1 parent dea8844 commit 05384ce
2 files changed
Lines changed: 72 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
| |||
61 | 77 | | |
62 | 78 | | |
63 | 79 | | |
| 80 | + | |
64 | 81 | | |
| 82 | + | |
65 | 83 | | |
66 | 84 | | |
67 | 85 | | |
| |||
141 | 159 | | |
142 | 160 | | |
143 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
144 | 165 | | |
145 | 166 | | |
146 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
74 | 121 | | |
75 | 122 | | |
76 | 123 | | |
| |||
205 | 252 | | |
206 | 253 | | |
207 | 254 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
212 | 259 | | |
213 | 260 | | |
214 | 261 | | |
| |||
0 commit comments