vm-boot-test: Fix probe ordering issue; add qemu-static test image #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI (x86/vac/hw-operations-in-vac-v3) | |
on: | |
push: | |
branches: [ "x86/vac/hw-operations-in-vac-v3" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
virt: [vmx, svm] | |
runs-on: | |
- self-hosted | |
- ${{ matrix.virt }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: make mrproper | |
run: make mrproper | |
- name: config | |
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/.config -O .config | |
- name: make | |
run: make CC="ccache cc" -j`nproc` && make CC="ccache cc" M=arch/x86/kvm modules | |
- name: fetch testdisk | |
run: wget https://github.com/vsrinivas/kvm-misc/raw/master/testdisk.img.gz -O testdisk.img.gz && gunzip testdisk.img.gz | |
- name: fetch qemu-static and kvm-unit-tests disk | |
run: wget https://github.com/vsrinivas/kvm-misc/raw/master/qemu-static.img.gz -O qemu-static.img.gz && gunzip qemu-static.img.gz | |
- name: pack xvac.ko, kvm.ko | |
run: mcopy -i qemu-static.img arch/x86/kvm/xvac.ko ::/ && mcopy -i qemu-static.img virt/lib/irqbypass.ko ::/ && mcopy -i qemu-static.img arch/x86/kvm/kvm-a.ko ::/ | |
- name: vm-boot-test.exp | |
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/vm-boot-test.exp -O vm-boot-test.exp && chmod +x ./vm-boot-test.exp && ./vm-boot-test.exp | |
- name: vm-boot-test-vac.exp | |
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/vm-boot-test-vac.exp -O vm-boot-test-vac.exp && chmod +x ./vm-boot-test-vac.exp && ./vm-boot-test-vac.exp |