Add a cargo xbuild check on CI

This commit is contained in:
Philipp Oppermann
2019-04-25 14:28:43 +02:00
parent 06d1c9ff81
commit 528bbd4e9f
3 changed files with 6 additions and 1 deletions

View File

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

View File

@@ -33,5 +33,6 @@ before_script:
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
script:
- cargo xbuild
- cargo bootimage
- cargo cache --autoclean

View File

@@ -55,9 +55,12 @@ steps:
- script: cargo install cargo-xbuild bootimage --debug
displayName: 'Install cargo-xbuild and bootimage'
- script: cargo bootimage
- script: cargo xbuild
displayName: 'Build'
- script: cargo bootimage
displayName: 'Create Bootimage'
- script: rustup component add rustfmt
displayName: 'Install Rustfmt'