Skip to content

Commit

Permalink
github-ci: Add a test for aarch64
Browse files Browse the repository at this point in the history
Add a gen-vm test for aarch64.
  • Loading branch information
sbates130272 committed Nov 10, 2024
1 parent ad2024a commit 3da3029
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,20 @@ jobs:
run: sudo apt update && sudo apt install -y qemu-system-x86 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 qemu-based ./gen-vm smoke-test
- name: Generate a x86_64 qemu-based ./gen-vm smoke-test
run: ./gen-vm
working-directory: qemu
env:
VM_NAME: qemu-minimal-smoke-test
KVM: none
USERNAME: ubuntu
PASS: password
- name: Run a aarch64 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:arm64
2 changes: 1 addition & 1 deletion qemu/gen-vm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# ----------------
#
# Note that for Jammy you need the cloud-init as well as
# cloud-image-utils and for focal a good generic call would be:
# cloud-image-utils and for jammy a good generic call would be:
#
# RELEASE=jammy VM_NAME=stephen ./gen-vm
#
Expand Down

0 comments on commit 3da3029

Please sign in to comment.