Skip to content

Commit 7907a68

Browse files
committed
Download OVMF from the repo's ovmf branch
1 parent 6889446 commit 7907a68

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,19 @@ install:
2020
- rustup component add rustfmt-preview
2121
# Try installing cargo-xbuild if it's not already installed
2222
- hash cargo-xbuild || cargo install cargo-xbuild
23-
# Download OVMF
24-
- bash -e "uefi-test-runner/ci/ovmf.sh"
23+
# Save the current branch
24+
- git branch travis-temp
25+
# Checkout the firmware branch
26+
- git fetch origin ovmf:ovmf
27+
- git checkout ovmf
28+
# Download it with Git LFS
29+
- git lfs pull
30+
# Copy it to the local directory
31+
- cp -v x86_64/*.fd .
32+
# Checkout the original repo back
33+
- git checkout travis-temp
34+
# Move the firmware files to the right directory
35+
- mv -v *.fd uefi-test-runner
2536

2637
before_script:
2738
# Try using cached QEMU install

uefi-test-runner/ci/ovmf.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)