diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a4b4358..1848f508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,6 +122,10 @@ jobs: - uses: actions/checkout@v4 with: lfs: true + - run: grep -cw vmx /proc/cpuinfo + - run: sudo setfacl -m u:${USER}:rw /dev/kvm + - run: | + [ -r /dev/kvm ] && [ -w /dev/kvm ] && echo "OK" || echo "FAIL" - run: git lfs pull - run: git lfs checkout - name: Install firecracker @@ -143,18 +147,18 @@ jobs: gh release download edk2-stable202408-r1 --repo rust-osdev/ovmf-prebuilt --pattern 'edk2-stable*-bin.tar.xz' tar -xvf edk2-stable*-bin.tar.xz edk2-stable202408-r1-bin/x64 - uses: dtolnay/rust-toolchain@stable - - name: Run QEMU (hello_world, dev) - run: cargo xtask ci qemu --target x86_64 --accel --sudo - - name: Run QEMU (hello_world, release) - run: cargo xtask ci qemu --target x86_64 --accel --sudo --release - - name: Run QEMU (hello_world-microvm, dev) - run: cargo xtask ci qemu --target x86_64 --accel --microvm --sudo - - name: Run QEMU (hello_world-microvm, release) - run: cargo xtask ci qemu --target x86_64 --accel --microvm --sudo --release - - name: Run UEFI (dev) - run: cargo xtask ci qemu --target x86_64-uefi --accel --sudo - - name: Run UEFI (release) - run: cargo xtask ci qemu --target x86_64-uefi --accel --sudo --release + # - name: Run QEMU (hello_world, dev) + # run: cargo xtask ci qemu --target x86_64 --accel --sudo + # - name: Run QEMU (hello_world, release) + # run: cargo xtask ci qemu --target x86_64 --accel --sudo --release + # - name: Run QEMU (hello_world-microvm, dev) + # run: cargo xtask ci qemu --target x86_64 --accel --microvm --sudo + # - name: Run QEMU (hello_world-microvm, release) + # run: cargo xtask ci qemu --target x86_64 --accel --microvm --sudo --release + # - name: Run UEFI (dev) + # run: cargo xtask ci qemu --target x86_64-uefi --accel --sudo + # - name: Run UEFI (release) + # run: cargo xtask ci qemu --target x86_64-uefi --accel --sudo --release - name: Run Firecracker (hello_world, dev) run: FIRECRACKER=$HOME/.local/bin/firecracker cargo xtask ci firecracker --target x86_64-fc --sudo - name: Run Firecracker (hello_world, release)