diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3040bcb7c4ecf4..941d26c53c09dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,15 +11,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: make mrproper (minimal) + - name: make mrproper run: make mrproper - - name: config (minimal) + - name: config run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/.config -O .config - - name: make (minimal) + - name: make run: make CC="ccache cc" -j`nproc` && make CC="ccache cc" M=arch/x86/kvm modules - - name: fetch testdisk (minimal) + - name: fetch testdisk run: wget https://github.com/vsrinivas/kvm-misc/raw/master/testdisk.img.gz -O testdisk.img.gz - - name: unpack testdisk (minimal) + - name: unpack testdisk run: gunzip testdisk.img.gz -# - name: test boot (minimal) -# run: qemu-system-x86_64 --enable-kvm -kernel vmlinux -append "console=ttyS0 root=/dev/nvme0n1 init=/sbin/sh" -smp 1 -m 1G -display none -serial stdio -drive file=testdisk.img,if=none,id=nvme -device nvme,drive=nvme,serial=disk -no-reboot + - name: fetch vm-boot-test.exp + run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/vm-boot-test.exp -O vm-boot-test.exp + - name: vm-boot-test.exp + run: ./vm-boot-test.exp