From 887454b6186f590e0874c5ae13d03e93e95d903f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Thu, 8 Feb 2024 17:47:50 +0100 Subject: [PATCH] ci: test UEFI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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)