Skip to content

Commit

Permalink
Fix build all but no test
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed May 28, 2022
1 parent 3e2ed8e commit 281c051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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}")
Expand Down

0 comments on commit 281c051

Please sign in to comment.