diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0dc8b93..9d7618a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: name: Run strategy: matrix: - target: [x86_64, aarch64, riscv64] + target: [x86_64, x86_64-uefi, aarch64, riscv64] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -53,7 +53,7 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install qemu-system-x86 qemu-system-arm qemu-system-misc nasm + sudo apt-get install qemu-system-x86 qemu-system-arm qemu-system-misc ovmf nasm - name: Install QEMU, NASM (macos) if: matrix.os == 'macos-latest' run: | @@ -89,7 +89,7 @@ jobs: - name: Install QEMU run: | sudo apt-get update - sudo apt-get install -y --no-install-recommends qemu-system-x86 + sudo apt-get install -y --no-install-recommends qemu-system-x86 ovmf - uses: actions/checkout@v4 with: lfs: true @@ -112,6 +112,10 @@ jobs: run: cargo xtask ci qemu --target x86_64 --accel - name: Run QEMU (hello_world, release) run: cargo xtask ci qemu --target x86_64 --accel --release + - name: Run UEFI (dev) + run: cargo xtask ci qemu --target x86_64-uefi --accel + - name: Run UEFI (release) + run: cargo xtask ci qemu --target x86_64-uefi --accel --release - name: Run Firecracker (hello_world, dev) run: cargo xtask ci firecracker --target x86_64-fc --features fc - name: Run Firecracker (hello_world, release)