mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17: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
|
||||
|
||||
test_script:
|
||||
- cargo xbuild
|
||||
- cargo bootimage
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user