fix iar ci

This commit is contained in:
hathach 2023-06-02 16:21:49 +07:00
parent 11fb837b51
commit 2016ad72f3
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
2 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def build_family(family, toolchain_option):
if os.getenv('CI'):
# always print build output if in CI
print(f"::group::{title} build error")
print(f"::group::{title}")
print(r.stdout.decode("utf-8"))
print(f"::endgroup::")
else:

View File

@ -47,6 +47,7 @@ def skip_example(example, board):
mk_contents = board_mk.read_text()
mcu = "NONE"
for token in mk_contents.split():
if "CFG_TUSB_MCU=OPT_MCU_" in token:
# Strip " because cmake files has them.