mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-11 11:31:31 +11:00
try upgrading the CI script
This commit is contained in:
parent
a3809aba09
commit
6976eba467
15
.travis.yml
15
.travis.yml
|
@ -9,13 +9,22 @@ rust:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
|
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
|
||||||
|
- (test -x $HOME/.cargo/bin/cargo-make || cargo install cargo-make)
|
||||||
|
- (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
|
||||||
- cargo install-update -a
|
- cargo install-update -a
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo check && cargo check --release
|
# Obtain the devkitPro tools
|
||||||
# Only run a test build for the library itself
|
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
||||||
|
- sudo dpkg -i devkitpro-pacman.deb
|
||||||
|
- sudo dkp-pacman -Sy
|
||||||
|
- sudo dkp-pacman -Syu
|
||||||
|
- sudo dkp-pacman -S gba-dev
|
||||||
|
# Test / compile the stuff
|
||||||
- cargo test --lib && cargo test --lib --release
|
- cargo test --lib && cargo test --lib --release
|
||||||
|
- cargo make
|
||||||
|
# Test build the book so that a failed book build kills this run
|
||||||
- cd book && mdbook build
|
- cd book && mdbook build
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in a new issue