diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf14626..096374b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,6 +87,7 @@ jobs: make bootimages make DISK_SIZE=128 gendisk RUNQEMUSH=work/$SOC/run_qemu.sh + SHOWQEMUSH=work/$SOC/show_qemu.sh qemucmd=qemu-system-riscv32 if [[ $CORE == *ux* ]] ; then qemucmd=qemu-system-riscv64 @@ -95,6 +96,7 @@ jobs: echo "$qemucmd --version" >> $SHOWQEMUSH echo "$qemucmd -M nuclei_${SOC},download=flashxip -cpu nuclei-${CORE},ext=$ARCH_EXT -smp 8 -m 2g -bios freeloader_qemu.elf -nographic -drive file=disk.img,if=sd,format=raw" > $RUNQEMUSH chmod +x $RUNQEMUSH + chmod +x $SHOWQEMUSH unset TIMER_HZ echo ">>> Reset workaround and source code" git reset --hard @@ -109,6 +111,8 @@ jobs: export PATH=${QEMU_PATH}:$PATH export SOC=${{ matrix.soc }} CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }} cd work/$SOC + # show qemu version + bash show_qemu.sh # $(cat run_qemu.sh) is workaround for directly run bash run_qemu.sh # If do kill it will just kill bash process, the qemu process is not killed # SIGTERM is better for kill qemu @@ -138,7 +142,7 @@ jobs: work/${{ matrix.soc }}/freeloader_qemu.elf work/${{ matrix.soc }}/buildstamp.txt work/${{ matrix.soc }}/disk.img - work/${{ matrix.soc }}/run_qemu.sh + work/${{ matrix.soc }}/*.sh - name: Upload cached packages if: matrix.core == 'ux900fd' && matrix.boot_mode == 'sd' && matrix.soc == 'evalsoc'