-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qemu/riscv64: Add riscv64 to the architectures supported
Add support for riscv64 to the gen-vm and run-vm scripts. Note this means a couple of packages need to be installed (qemu-system-misc and u-boot-qemu). Add this to our smoke-test GitHub workflow.
- Loading branch information
1 parent
9e4e07e
commit ec2e84c
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,23 @@ jobs: | |
USERNAME: ubuntu | ||
PASS: password | ||
ARCH: arm64 | ||
|
||
ubuntu-latest-arm64: | ||
name: ubuntu-latest-arm64 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code using action/checkout | ||
uses: actions/[email protected] | ||
- name: Install a couple of packages via the apt package manager | ||
run: sudo apt update && sudo apt install -y qemu-system-misc u-boot-qemu cloud-image-utils | ||
- name: Generate an ssh key-pair for this test | ||
run: ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N "" | ||
- name: Run a riscv64 qemu-based ./gen-vm smoke-test | ||
run: ./gen-vm | ||
working-directory: qemu | ||
env: | ||
VM_NAME: qemu-minimal-smoke-test-arm64 | ||
KVM: none | ||
USERNAME: ubuntu | ||
PASS: password | ||
ARCH: riscv64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters