fix: remove print_outputs args #664
cicd.yml
on: push
Matrix: build
Matrix: coverage
Matrix: docs
Matrix: release
Annotations
9 errors and 8 warnings
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/flow/tvm/backend/backend.py#L392
num_threads=self.num_threads,
debug_cfg=self.relay_debug,
)
if self.use_tlcpack:
pre = ["tvmc"]
- return utils.exec_getout(
- *pre, command, *args, live=self.print_outputs, env=env, cwd=cwd
- )
+ return utils.exec_getout(*pre, command, *args, live=self.print_outputs, env=env, cwd=cwd)
else:
if self.tvmc_custom_script is None:
pre = ["-m", "tvm.driver.tvmc"]
else:
pre = [self.tvmc_custom_script]
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/platform/zephyr/zephyr.py#L159
# This will fail
# Workaround used to get list of supported boards...
def _handle(code):
return 0
- text = self.invoke_west(
- "build", "-d", b, "-b", "help", temp, live=False, handle_exit=_handle
- )
+ text = self.invoke_west("build", "-d", b, "-b", "help", temp, live=False, handle_exit=_handle)
# Warning: This will fail if a python executable is NOT available in the system. Aliasing
# python3 to python will not work. Not sure how this would handle a system which only has python2 installed?
target_names = re.compile(r"^ (\S+)$", re.MULTILINE).findall(text)
return [
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/setup/tasks/corstone300.py#L57
fvpFileName = "FVP_Corstone_SSE-300_11.16_26"
fvpArchive = fvpFileName + ".tgz"
utils.download_and_extract(fvpUrl, fvpArchive, fvpInstallDir, progress=verbose)
fvpScript = fvpInstallDir / "FVP_Corstone_SSE-300.sh"
utils.exec_getout(
- fvpScript, "--i-agree-to-the-contained-eula", "--no-interactive", "-d", fvpSubDir,
+ fvpScript,
+ "--i-agree-to-the-contained-eula",
+ "--no-interactive",
+ "-d",
+ fvpSubDir,
)
context.cache["corstone300.exe"] = fvpExe
context.export_paths.add(fvpExe.parent)
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/setup/tasks/zephyr.py#L84
f". {zephyrVenvScript} && west init -m {zephyrUrl} --mr {zephyrVersion} {zephyrInstallDir}",
shell=True,
live=verbose,
)
extra = zephyrInstallDir / "zephyr" / "scripts" / "requirements.txt"
- utils.exec_getout(
- f". {zephyrVenvScript} && pip install -r {extra}", shell=True, live=verbose
- )
+ utils.exec_getout(f". {zephyrVenvScript} && pip install -r {extra}", shell=True, live=verbose)
env = os.environ.copy()
env["ZEPHYR_BASE"] = str(zephyrInstallDir / "zephyr")
utils.exec_getout(f". {zephyrVenvScript} && west update", shell=True, live=verbose, env=env)
if "zephyr.sdk_version" in user_vars:
sdkVersion = user_vars["zephyr.sdk_version"]
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/setup/tasks/zephyr.py#L101
sdkArchive = f"zephyr-sdk-{sdkVersion}_{sdkDist}.tar.gz"
if not utils.is_populated(zephyrSdkDir):
utils.download_and_extract(sdkUrl, sdkArchive, zephyrSdkDir, progress=verbose)
sdkScript = zephyrSdkDir / "setup.sh"
# TODO: allow to limit installed toolchains
- utils.exec_getout(sdkScript, "-t", "all", "-h", live=verbose)
+ utils.exec_getout(sdkScript, "-t", "all", "-h", live=verbose)
# Apply patch to fix esp32c3 support
patchFile = Path(
pkg_resources.resource_filename(
"mlonmcu", os.path.join("..", "resources", "patches", "zephyr", "fix_esp32c3_march.patch")
)
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/target/target.py#L144
if temp is None:
temp = code
if handle_exit is not None:
temp = handle_exit(temp, out=out)
return temp
+
if self.print_outputs:
out = self.exec(elf, *args, cwd=directory, live=True, handle_exit=_handle_exit)
else:
out = self.exec(
elf, *args, cwd=directory, live=False, print_func=lambda *args, **kwargs: None, handle_exit=_handle_exit
|
mlonmcu/setup/tasks/zephyr.py#L106
Multiple spaces after ',' (E241)
|
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/target/riscv/vicuna.py#L305
if temp is None:
temp = code
if handle_exit is not None:
temp = handle_exit(temp, out=out)
return temp
+
if self.print_outputs:
self.prepare_simulator(cwd=directory, live=True)
else:
self.prepare_simulator(cwd=directory, live=False, print_func=lambda *args, **kwargs: None)
simulation_start = time.time()
|
mlonmcu/target/riscv/ovpsim.py#L30
'.riscv.RISCVTarget' imported but unused (F401)
|
build (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (3.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coverage (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coverage (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docs (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage-report
Expired
|
9.93 MB |
|