From 3da30299132223487c61db762101bdcbcdc6d8e6 Mon Sep 17 00:00:00 2001 From: Stephen Bates Date: Sat, 9 Nov 2024 20:06:11 -0700 Subject: [PATCH] github-ci: Add a test for aarch64 Add a gen-vm test for aarch64. --- .github/workflows/smoke-test.yml | 11 ++++++++++- qemu/gen-vm | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index e7341a2..15bdab5 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -15,7 +15,7 @@ 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: @@ -23,3 +23,12 @@ jobs: 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 diff --git a/qemu/gen-vm b/qemu/gen-vm index 5926183..006257e 100755 --- a/qemu/gen-vm +++ b/qemu/gen-vm @@ -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 #