Skip to content

Commit ffa42a1

Browse files
committed
ci: increase github timeout from 5m to 6m and show run_qemu.sh
Signed-off-by: Huaqi Fang <[email protected]>
1 parent 4b87f40 commit ffa42a1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/run_qemu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cd nuclei-linux-sdk
2-
timeout --foreground -s SIGTERM 5m make run_qemu > >(tee run_qemu.log)
2+
timeout --foreground -s SIGTERM 6m make run_qemu > >(tee run_qemu.log)
33

44
# check pass or not
55
if cat run_qemu.log | grep "Run /init" ; then

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ jobs:
118118
cd work/$SOC
119119
# show qemu version
120120
bash show_qemu.sh
121+
cat run_qemu.sh
121122
# $(cat run_qemu.sh) is workaround for directly run bash run_qemu.sh
122123
# If do kill it will just kill bash process, the qemu process is not killed
123124
# SIGTERM is better for kill qemu
124-
timeout --foreground -s SIGTERM 5m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
125+
timeout --foreground -s SIGTERM 6m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
125126
if cat run_qemu.log | grep "Run /init" ; then echo "Kernel boot successfully" ; else echo "Kernel boot failed" && exit 1; fi;
126127
if cat run_qemu.log | grep "Welcome to" ; then echo "Pass simulation" && exit 0; else echo "Failed init process" && exit 1; fi;
127128
}

0 commit comments

Comments
 (0)