Skip to content

Commit add7a24

Browse files
committed
Test build with cflags at all
1 parent c036a57 commit add7a24

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ports/zephyr-cp/cptools/cpbuild.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ async def preprocess(
353353
depfile,
354354
"-c",
355355
source_file,
356-
self.cflags_file,
357356
*flags,
358357
"-o",
359358
output_file,
@@ -385,7 +384,6 @@ async def compile(
385384
await run_command(
386385
[
387386
self.c_compiler,
388-
self.cflags_file,
389387
"-MMD",
390388
"-c",
391389
source_file,

tools/ci_set_matrix.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
that only the single board raspberry_pi_pico_w would be built.
2222
"""
2323

24-
import re
25-
import os
26-
import sys
2724
import json
25+
import os
2826
import pathlib
27+
import re
2928
import subprocess
29+
import sys
3030
from concurrent.futures import ThreadPoolExecutor
3131

3232
tools_dir = pathlib.Path(__file__).resolve().parent
@@ -37,8 +37,8 @@
3737

3838
import build_board_info
3939
from shared_bindings_matrix import (
40-
get_settings_from_makefile,
4140
SUPPORTED_PORTS,
41+
get_settings_from_makefile,
4242
)
4343

4444
# Files that never influence board builds
@@ -239,7 +239,7 @@ def get_settings(board):
239239
break
240240

241241
# Append previously failed boards
242-
boards_to_build.update(last_failed_jobs.get("ports", []))
242+
# boards_to_build.update(last_failed_jobs.get("ports", []))
243243

244244
print("Building boards:", bool(boards_to_build))
245245

@@ -254,6 +254,8 @@ def get_settings(board):
254254
if not port:
255255
print("skip", board)
256256
continue
257+
if "zephyr" not in port:
258+
continue
257259
port_to_boards_to_build.setdefault(port, []).append(board)
258260
print(" ", board)
259261

@@ -317,8 +319,8 @@ def main():
317319
run_all = not changed_files and not compute_diff
318320
print("Running: " + ("all" if run_all else "conditionally"))
319321
# Set jobs
320-
set_docs(run_all)
321-
set_windows(run_all)
322+
set_docs(False)
323+
set_windows(True)
322324
set_boards(run_all)
323325

324326

0 commit comments

Comments
 (0)