Commit 10c6965d authored by juadde's avatar juadde
Browse files

Add test stage

parent 5d0cad1e
Pipeline #2850 failed with stages
in 83 minutes and 1 second
......@@ -4,6 +4,7 @@ default:
stages:
- lint
- build
- test
- publish
shellcheck:
......@@ -64,6 +65,28 @@ build:secure:
- schedules
- tags
test-cloud-qemu:
stage: test
before_script:
- pacman -Syu --needed --noconfirm qemu-headless
script:
- ls -lha output/Arch-Linux-x86_64-cloudimg-*.qcow2
- qemu-system-x86_64 -nographic -machine accel=kvm:tcg -net user -net nic output/Arch-Linux-x86_64-cloudimg-*.qcow2
test-vagrant-vbox:
stage: test
before_script:
- pacman -Syu --needed --noconfirm vagrant virtualbox
script:
- vagrant box add output/Arch-Linux-x86_64-virtualbox-*.box --name archlinux
test-vagrant-libvirt:
stage: test
before_script:
- pacman -Syu --needed --noconfirm vagrant libvirt qemu-headless
script:
- vagrant box add output/Arch-Linux-x86_64-libvirt-*.box --name archlinux
tag_release:
stage: publish
tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment