Skip to content

Commit

Permalink
sel4test-hw: prepare kernel.elf build artifact
Browse files Browse the repository at this point in the history
Leave kernel.elf under a predictable name for each build variant in
a place where GitHub artifact upload can later find it.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Dec 9, 2023
1 parent 0723e6e commit 8a58fbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sel4test-hw/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def hw_build(manifest_dir: str, build: Build):
script = [
["../init-build.sh"] + build.settings_args(),
["ninja"],
["tar", "czf", f"../{build.name}-images.tar.gz", "images/"]
["tar", "czf", f"../{build.name}-images.tar.gz", "images/"],
["cp", "kernel/kernel.elf", f"../{build.name}-kernel.elf"]
]

return run_build_script(manifest_dir, build, script)
Expand Down

0 comments on commit 8a58fbe

Please sign in to comment.