Update CI scripts to use cargo bootimage

This commit is contained in:
Philipp Oppermann
2019-04-20 18:06:02 +02:00
parent c1064ad316
commit 06d1c9ff81
3 changed files with 5 additions and 8 deletions

View File

@@ -73,4 +73,4 @@ before_test:
- cargo install-latest cargo-xbuild bootimage
test_script:
- bootimage build
- cargo bootimage

View File

@@ -30,9 +30,8 @@ cache:
before_script:
- rustup component add rust-src llvm-tools-preview
- (test -x $HOME/.cargo/bin/cargo-install-latest || cargo install cargo-install-latest)
- cargo install-latest cargo-xbuild bootimage cargo-cache
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
script:
- bootimage build
- cargo bootimage
- cargo cache --autoclean

View File

@@ -52,12 +52,10 @@ steps:
- script: rustup component add rust-src llvm-tools-preview
displayName: 'Install Rustup Components'
- script: |
cargo install cargo-xbuild --debug
cargo install bootimage --debug
- script: cargo install cargo-xbuild bootimage --debug
displayName: 'Install cargo-xbuild and bootimage'
- script: bootimage build
- script: cargo bootimage
displayName: 'Build'
- script: rustup component add rustfmt