mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add a cargo xbuild check on CI
This commit is contained in:
@@ -73,4 +73,5 @@ before_test:
|
|||||||
- cargo install-latest cargo-xbuild bootimage
|
- cargo install-latest cargo-xbuild bootimage
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
- cargo xbuild
|
||||||
- cargo bootimage
|
- cargo bootimage
|
||||||
|
|||||||
@@ -33,5 +33,6 @@ before_script:
|
|||||||
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
|
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- cargo xbuild
|
||||||
- cargo bootimage
|
- cargo bootimage
|
||||||
- cargo cache --autoclean
|
- cargo cache --autoclean
|
||||||
|
|||||||
@@ -55,9 +55,12 @@ steps:
|
|||||||
- script: cargo install cargo-xbuild bootimage --debug
|
- script: cargo install cargo-xbuild bootimage --debug
|
||||||
displayName: 'Install cargo-xbuild and bootimage'
|
displayName: 'Install cargo-xbuild and bootimage'
|
||||||
|
|
||||||
- script: cargo bootimage
|
- script: cargo xbuild
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|
||||||
|
- script: cargo bootimage
|
||||||
|
displayName: 'Create Bootimage'
|
||||||
|
|
||||||
- script: rustup component add rustfmt
|
- script: rustup component add rustfmt
|
||||||
displayName: 'Install Rustfmt'
|
displayName: 'Install Rustfmt'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user