mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Update azure pipelines script for integration tests
This commit is contained in:
@@ -74,3 +74,26 @@ steps:
|
|||||||
|
|
||||||
- script: cargo test
|
- script: cargo test
|
||||||
displayName: 'Unit Tests'
|
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'
|
||||||
|
|||||||
Reference in New Issue
Block a user