File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
strategy :
13
13
matrix :
14
- arch : [riscv64, aarch64, x86_64 , loongarch64]
14
+ arch : [riscv64, x86_64, aarch64 , loongarch64]
15
15
steps :
16
16
- uses : actions/checkout@v3
17
17
- uses : actions-rs/toolchain@v1
55
55
- name : Run usertests in ${{ matrix.arch }}
56
56
run : |
57
57
cd os
58
- (make run ARCH=${{ matrix.arch }} & echo $! > pidfile) | while IFS= read -r line
59
- do
60
- echo "$line"
61
- if echo "$line" | grep -q "shutdown!"
62
- then
63
- if ps -p $(cat pidfile) > /dev/null
64
- then
65
- kill $(cat pidfile)
66
- fi
67
- exit 0
68
- fi
69
- done
70
- timeout-minutes : 4
58
+ timeout 60 make run ARCH=${{ matrix.arch }} 2>&1 | tee output.log || echo "qemu exited"
59
+ timeout-minutes : 2
60
+
61
+ - name : Checkout output
62
+ run : |
63
+ grep -q "[kernel] Hello, world!" os/output.log && exit 1 || exit 0
You can’t perform that action at this time.
0 commit comments