Skip to content

Commit 7f50e48

Browse files
nicholasbishopGabrielMajeri
authored andcommitted
ci: install a newer version of qemu for the aarch64/ia32 tests
This fixes a segfault on exit. #259
1 parent d36bf6f commit 7f50e48

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ jobs:
1818

1919
- name: Install qemu and OVMF
2020
run: |
21+
# Ubuntu 20.04 provides qemu 4.2, which crashes on exit in this
22+
# test. Add a PPA to provide a more recent version of qemu.
23+
sudo add-apt-repository ppa:canonical-server/server-backports
2124
sudo apt-get update
22-
sudo apt-get install qemu-system-aarch64 qemu-efi-aarch64 -y
25+
sudo apt-get install qemu-system-arm qemu-efi-aarch64 -y
2326
# Copy the files so that the vars file isn't read-only.
2427
cp /usr/share/AAVMF/AAVMF_CODE.fd uefi-test-runner/QEMU_EFI-pflash.raw
2528
cp /usr/share/AAVMF/AAVMF_VARS.fd uefi-test-runner/vars-template-pflash.raw
@@ -75,6 +78,9 @@ jobs:
7578

7679
- name: Install qemu
7780
run: |
81+
# Ubuntu 20.04 provides qemu 4.2, which crashes on exit in this
82+
# test. Add a PPA to provide a more recent version of qemu.
83+
sudo add-apt-repository ppa:canonical-server/server-backports
7884
sudo apt-get update
7985
sudo apt-get install qemu-system-x86 -y
8086

0 commit comments

Comments
 (0)