You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
661 B
33 lines
661 B
language: rust |
|
|
|
rust: |
|
- nightly-2018-01-21 |
|
- nightly |
|
|
|
matrix: |
|
allow_failures: |
|
- rust: nightly |
|
|
|
install: |
|
- set -eo pipefail |
|
- pushd /tmp |
|
|
|
# Install DevkitARM |
|
- export DEVKITPRO="$HOME/dkp" |
|
- export DEVKITARM="$DEVKITPRO/devkitARM" |
|
- export PATH="$PATH:$DEVKITARM/bin" |
|
- wget https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl |
|
- chmod +x devkitARMupdate.pl |
|
- ./devkitARMupdate.pl "$DEVKITPRO" |
|
|
|
# Install Xargo |
|
- cargo install xargo |
|
|
|
# Install Rust source |
|
- rustup component add rust-src |
|
|
|
- popd |
|
|
|
script: |
|
- cd examples |
|
- RUST_TARGET_PATH=$(pwd) xargo build --release
|
|
|