From 281c051e1073f3dae62da3b45801583458fe77a0 Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Sat, 28 May 2022 01:25:12 +0000 Subject: [PATCH] Fix build all but no test --- examples/chef/chef.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 9029945b471a94..c425df57cdeae5 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -369,7 +369,6 @@ def main(argv: Sequence[str]) -> None: flush_print("Build all disabled") exit(1) flush_print("Building all chef examples") - os.environ['GNUARMEMB_TOOLCHAIN_PATH'] = os.environ['PW_ARM_CIPD_INSTALL_DIR'] archive_prefix = "/workspace/artifacts/" archive_suffix = ".tar.gz" os.makedirs(archive_prefix, exist_ok=True) @@ -378,12 +377,13 @@ def main(argv: Sequence[str]) -> None: directory = platform_meta['build_dir'] label = platform_meta['platform_label'] output_dir = os.path.join(_CHEF_SCRIPT_PATH, directory) + command = f"./chef.py -cbr --use_zzz -d {device_name} -t {platform}" flush_print("-" * 64) flush_print(f"Building {command}") flush_print("-" * 64) shell.run_cmd(f"cd {_CHEF_SCRIPT_PATH}") shell.run_cmd("export GNUARMEMB_TOOLCHAIN_PATH=\"$PW_ARM_CIPD_INSTALL_DIR\"") - shell.run_cmd(f"./chef.py -cbr --use_zzz -d {device_name} -t {platform}") + shell.run_cmd(command) archive_name = f"{label}-chef-{device_name}-wifi-rpc" archive_full_name = archive_prefix + archive_name + archive_suffix flush_print(f"Adding build output to archive {archive_full_name}")