rebase: Add CI #8
Workflow file for this run
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
name: qemu-minimal-smoke-test | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
ubuntu-smoke-test: | |
name: ubuntu-smoke-test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code using action/checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Install qemu-system-x86 via the apt package manager | |
run: sudo apt update && sudo apt install -y qemu-system-x86 | |
- name: Generate an ssh key-pair for this test | |
run: ssh-keygen -t rsa -N "my passphrase" -C "test key" -f ~/.ssh/id_rsa | |
- name: Run a 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 |