mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Update CI scripts to use cargo bootimage
This commit is contained in:
@@ -73,4 +73,4 @@ before_test:
|
||||
- cargo install-latest cargo-xbuild bootimage
|
||||
|
||||
test_script:
|
||||
- bootimage build
|
||||
- cargo bootimage
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user