From f15bbaea3f76d491c913af84629eb0bfc8568bf4 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 5 Feb 2019 14:58:51 +0100 Subject: [PATCH] Update azure pipelines script for integration tests --- azure-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e3484c6..0e948ce1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,3 +74,26 @@ steps: - script: cargo test displayName: 'Unit Tests' + +- script: sudo apt install qemu-system-x86 + condition: eq( variables['Agent.OS'], 'Linux' ) + displayName: 'Install QEMU (Linux)' + +- script: | + export HOMEBREW_NO_AUTO_UPDATE=1 + export HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK=1 + export HOMEBREW_NO_INSTALL_CLEANUP=1 + brew install qemu + condition: eq( variables['Agent.OS'], 'Darwin' ) + displayName: 'Install QEMU (macOS)' + +- script: | + choco install qemu --limit-output --no-progress + echo ##vso[task.setvariable variable=PATH;]%PATH%;C:\Program Files\qemu + set PATH=%PATH%;C:\Program Files\qemu + qemu-system-x86_64 --version + condition: eq( variables['Agent.OS'], 'Windows_NT' ) + displayName: 'Install QEMU (Windows)' + +- script: bootimage test + displayName: 'Integration Tests'