From ace0e7e8b712f28c28d75a374baa5642ddc46216 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Sat, 20 Jan 2024 16:54:01 +0800 Subject: [PATCH] CI: Automate the runtime checks This commit aims to automate the validation process by utilizing the 'expect' tool to verify if semu can successfully boot the Linux kernel and run BusyBox as anticipated. Currently, only the "uname" command is executed and its output is checked. --- .ci/autorun.sh | 24 ++++++++++++++++++++++++ .github/workflows/main.yml | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100755 .ci/autorun.sh diff --git a/.ci/autorun.sh b/.ci/autorun.sh new file mode 100755 index 0000000..3c58bb2 --- /dev/null +++ b/.ci/autorun.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +pkill -9 semu + +expect <