diff options
author | leo60228 <iakornfeld@gmail.com> | 2019-05-10 09:40:45 -0400 |
---|---|---|
committer | leo60228 <iakornfeld@gmail.com> | 2019-05-10 10:28:18 -0400 |
commit | a92266b0fe2de4781b327b9ea85fdcfb357b2aca (patch) | |
tree | 741e66b0a0d0f55c70ae5523204aa740dd4aba6a /.travis.yml | |
parent | 62ad61f973af127ab198b094d439b982dae581ce (diff) | |
download | rust-libc-a92266b0fe2de4781b327b9ea85fdcfb357b2aca.tar.gz |
Build Switch on CI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 7175ae4aad..c02be13b59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -207,6 +207,27 @@ matrix: - env: TARGET=wasm32-unknown-wasi rust: nightly stage: tier2 + - name: "Nintendo Switch - build libcore only" + rust: nightly + stage: tier2 + install: + - rustup component add rust-src + - (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild) + script: + - mkdir -p target + - cd target + - 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 -v --noconfirm switch-dev devkitA64 + - export PATH="$PATH:/opt/devkitpro/devkitA64/bin" + - export PATH="$PATH:/opt/devkitpro/tools/bin" + - cd .. + # Pull the target spec up into the current directory and then build + - mv ci/switch.json switch.json + - cargo xbuild --target switch.json + allow_failures: # FIXME: android build bots time out irregularly |