mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Install QEMU on travis and appveyor
This commit is contained in:
@@ -55,6 +55,18 @@ install:
|
|||||||
- rustc -vV
|
- rustc -vV
|
||||||
- cargo -vV
|
- cargo -vV
|
||||||
|
|
||||||
|
# Install qemu
|
||||||
|
- echo %cd%
|
||||||
|
- mkdir "C:\Program Files\qemu"
|
||||||
|
- cd "C:\Program Files\qemu"
|
||||||
|
- if %target%==i686-pc-windows-msvc appveyor DownloadFile "https://qemu.weilnetz.de/w32/qemu-w32-setup-20180519.exe" -FileName "qemu-setup.exe"
|
||||||
|
- if %target%==i686-pc-windows-gnu appveyor DownloadFile "https://qemu.weilnetz.de/w32/qemu-w32-setup-20180519.exe" -FileName "qemu-setup.exe"
|
||||||
|
- if %target%==x86_64-pc-windows-msvc appveyor DownloadFile "https://qemu.weilnetz.de/w64/qemu-w64-setup-20180519.exe" -FileName "qemu-setup.exe"
|
||||||
|
- if %target%==x86_64-pc-windows-gnu appveyor DownloadFile "https://qemu.weilnetz.de/w64/qemu-w64-setup-20180519.exe" -FileName "qemu-setup.exe"
|
||||||
|
- 7z x qemu-setup.exe
|
||||||
|
- set PATH=%PATH%;C:\Program Files\qemu
|
||||||
|
- cd "C:\projects\blog-os"
|
||||||
|
|
||||||
## Build Script ##
|
## Build Script ##
|
||||||
|
|
||||||
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
|
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
|
||||||
|
|||||||
@@ -21,6 +21,14 @@ os:
|
|||||||
|
|
||||||
cache: cargo
|
cache: cargo
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- qemu-system-x86
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [ $TRAVIS_OS_NAME = osx ]; then brew install qemu; fi
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup component add rust-src
|
- rustup component add rust-src
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
|
|||||||
Reference in New Issue
Block a user