-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (32 loc) · 998 Bytes
/
smoke-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: qemu-minimal-smoke-test
on:
pull_request:
branches: [ main ]
jobs:
ubuntu-smoke-test:
name: ubuntu-smoke-test
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-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: 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