-
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.
Add a gen-vm test for aarch64. We do this as a seperate job so that it runs in parallel with the x86 one. While we are at it we also cleanup the naming convention for the CI tests.
- Loading branch information
1 parent
ad2024a
commit 6913030
Showing
3 changed files
with
29 additions
and
8 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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
name: qemu-minimal-smoke-test | ||
name: smoke-tests | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
ubuntu-smoke-test: | ||
name: ubuntu-smoke-test | ||
|
||
ubuntu-latest-x86: | ||
name: ubuntu-latest-x86 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code using action/checkout | ||
|
@@ -15,11 +16,31 @@ 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 | ||
|
||
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-arm 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 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 |
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