@@ -108,21 +108,21 @@ jobs:
108108 make genboot
109109
110110 # Run on qemu
111- - name : Run and test on qemu for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
112- run : |
113- QEMU_PATH=$(pwd)/prebuilt_tools/linux_qemu/bin:$(pwd)/prebuilt_tools/qemu/bin
114- export PATH=${QEMU_PATH}:$PATH
115- export SOC=${{ matrix.soc }} CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }}
116- cd work/$SOC
117- # show qemu version
118- bash show_qemu.sh
119- # $(cat run_qemu.sh) is workaround for directly run bash run_qemu.sh
120- # If do kill it will just kill bash process, the qemu process is not killed
121- # SIGTERM is better for kill qemu
122- timeout --foreground -s SIGTERM 5m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
123- if cat run_qemu.log | grep "Run /init" ; then echo "Kernel boot successfully" ; else echo "Kernel boot failed" && exit 1; fi;
124- if cat run_qemu.log | grep "Welcome to" ; then echo "Pass simulation" && exit 0; else echo "Failed init process" && exit 1; fi;
125- }
111+ # - name: Run and test on qemu for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
112+ # run: |
113+ # QEMU_PATH=$(pwd)/prebuilt_tools/linux_qemu/bin:$(pwd)/prebuilt_tools/qemu/bin
114+ # export PATH=${QEMU_PATH}:$PATH
115+ # export SOC=${{ matrix.soc }} CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }}
116+ # cd work/$SOC
117+ # # show qemu version
118+ # bash show_qemu.sh
119+ # # $(cat run_qemu.sh) is workaround for directly run bash run_qemu.sh
120+ # # If do kill it will just kill bash process, the qemu process is not killed
121+ # # SIGTERM is better for kill qemu
122+ # timeout --foreground -s SIGTERM 5m $(cat run_qemu.sh) > >(tee run_qemu.log) || {
123+ # if cat run_qemu.log | grep "Run /init" ; then echo "Kernel boot successfully" ; else echo "Kernel boot failed" && exit 1; fi;
124+ # if cat run_qemu.log | grep "Welcome to" ; then echo "Pass simulation" && exit 0; else echo "Failed init process" && exit 1; fi;
125+ # }
126126
127127 - name : Upload bootimages for ${{ matrix.soc }} - ${{ matrix.core }} - ${{ matrix.boot_mode }}
128128 uses : actions/upload-artifact@v4
0 commit comments