Skip to content

Commit

Permalink
Merge branch 'master' into lsf37-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lsf37 authored Jan 2, 2024
2 parents 8d27158 + 12bb970 commit 82ef16c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions aws-proofs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ automatically spins up and terminates the corresponding AWS instance.
- `L4V_FEATURES`: Optional kernel features to test. Either `MCS` or empty.
- `L4V_PLAT`: Platform variant to test (optional). Either a platform name or
unset.
- `NUM_DOMAINS`: Optional override for the `KenrelNumDomains` config setting.
- `session`: which session to run (e.g. `CRefine` or `ASpec`, or `ASpec
CRefine`, i.e. a space-separated string). Runs all sessions if
unset.
Expand Down
3 changes: 3 additions & 0 deletions aws-proofs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ inputs:
L4V_PLAT:
description: 'Platform variant to test (optional). Either a platform name or unset.'
required: false
NUM_DOMAINS:
description: 'Optional override for KernelNumDomains config setting.'
required: false
session:
description: 'Which proof session to run (space-separated string)'
required: false
Expand Down
1 change: 1 addition & 0 deletions aws-proofs/steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ ssh -o SendEnv=INPUT_CI_BRANCH \
-o SendEnv=INPUT_L4V_ARCH \
-o SendEnv=INPUT_L4V_FEATURES \
-o SendEnv=INPUT_L4V_PLAT \
-o SendEnv=INPUT_NUM_DOMAINS \
-o SendEnv=INPUT_MANIFEST \
-o SendEnv=INPUT_ISA_BRANCH \
-o SendEnv=INPUT_SESSION \
Expand Down
6 changes: 5 additions & 1 deletion aws-proofs/vm-steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ isabelle/bin/isabelle components -a
export L4V_ARCH=${INPUT_L4V_ARCH}
export L4V_FEATURES=${INPUT_L4V_FEATURES}
export L4V_PLAT=${INPUT_L4V_PLAT}
L4V_ARCH_FEATURES="${L4V_ARCH}${L4V_FEATURES:+-${L4V_FEATURES}}${L4V_PLAT:+-${L4V_PLAT}}"

FEATURES_STR=${L4V_FEATURES:+-${L4V_FEATURES}}
PLAT_STR=${L4V_PLAT:+-${L4V_PLAT}}
NUM_DOMAINS_STR=${INPUT_NUM_DOMAINS:+-${INPUT_NUM_DOMAINS}}
L4V_ARCH_FEATURES="${L4V_ARCH}${FEATURES_STR}${PLAT_STR}${NUM_DOMAINS_STR}"

CACHE_NAME=${INPUT_CACHE_NAME}
if [ -z "${CACHE_NAME}" ]
Expand Down
2 changes: 1 addition & 1 deletion seL4-platforms/platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ platforms:
modes: [64]
smp: [64]
platform: tqma8xqp1gb
req: [tqma]
march: armv8a
disabled: true

OMAP3:
arch: arm
Expand Down
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 82ef16c

Please sign in to comment.