mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
Use cargo-xbuild instead of xargo and pass paths to --target
This commit is contained in:
@@ -19,16 +19,12 @@ os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cargo
|
||||
- $HOME/.xargo
|
||||
- $TRAVIS_BUILD_DIR/target
|
||||
cache: cargo
|
||||
|
||||
before_script:
|
||||
- rustup component add rust-src
|
||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
|
||||
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
|
||||
- (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage)
|
||||
- cargo install-update -a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user