Skip to content

Commit

Permalink
ci: test UEFI
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Feb 8, 2024
1 parent 18f8ae2 commit a1c5ac5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ 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:
- 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: |
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit a1c5ac5

Please sign in to comment.