mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27: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
|
- cargo install-latest cargo-xbuild bootimage
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- bootimage build
|
- cargo bootimage
|
||||||
|
|||||||
@@ -30,9 +30,8 @@ cache:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup component add rust-src llvm-tools-preview
|
- rustup component add rust-src llvm-tools-preview
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-latest || cargo install cargo-install-latest)
|
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
|
||||||
- cargo install-latest cargo-xbuild bootimage cargo-cache
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bootimage build
|
- cargo bootimage
|
||||||
- cargo cache --autoclean
|
- cargo cache --autoclean
|
||||||
|
|||||||
@@ -52,12 +52,10 @@ steps:
|
|||||||
- script: rustup component add rust-src llvm-tools-preview
|
- script: rustup component add rust-src llvm-tools-preview
|
||||||
displayName: 'Install Rustup Components'
|
displayName: 'Install Rustup Components'
|
||||||
|
|
||||||
- script: |
|
- script: cargo install cargo-xbuild bootimage --debug
|
||||||
cargo install cargo-xbuild --debug
|
|
||||||
cargo install bootimage --debug
|
|
||||||
displayName: 'Install cargo-xbuild and bootimage'
|
displayName: 'Install cargo-xbuild and bootimage'
|
||||||
|
|
||||||
- script: bootimage build
|
- script: cargo bootimage
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|
||||||
- script: rustup component add rustfmt
|
- script: rustup component add rustfmt
|
||||||
|
|||||||
Reference in New Issue
Block a user