Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Dec 9, 2024
1 parent 1112375 commit bf26725
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit bf26725

Please sign in to comment.