Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Basic vm-boot-test.exp
  • Loading branch information
vsrinivas authored Jul 11, 2023
1 parent 5c95841 commit fe9588c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fe9588c

Please sign in to comment.