diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0dc8b93..86d7cf6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,15 +45,20 @@ 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] + exclude: + - target: x86_64-uefi + os: macos-latest + - target: x86_64-uefi + os: windows-latest runs-on: ${{ matrix.os }} steps: - name: Install QEMU, NASM (ubuntu) 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 +94,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 +117,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)