|
|
@ -13,11 +13,9 @@ install: |
|
|
|
- pushd /tmp |
|
|
|
- pushd /tmp |
|
|
|
|
|
|
|
|
|
|
|
# Install DevkitARM |
|
|
|
# Install DevkitARM |
|
|
|
- export DEVKITPRO="$HOME/dkp" |
|
|
|
- export DEVKITPRO="/opt/devkitpro" |
|
|
|
- export DEVKITARM="$DEVKITPRO/devkitARM" |
|
|
|
- export DEVKITARM="$DEVKITPRO/devkitARM" |
|
|
|
- export PATH="$PATH:$DEVKITARM/bin" |
|
|
|
- export PATH="$PATH:$DEVKITARM/bin" |
|
|
|
- export CC_3ds="$DEVKITARM/bin/arm-none-eabi-gcc" |
|
|
|
|
|
|
|
- export TARGET_CFLAGS="-mfloat-abi=hard -march=armv6k" |
|
|
|
|
|
|
|
- wget https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl |
|
|
|
- wget https://raw.githubusercontent.com/devkitPro/installer/master/perl/devkitARMupdate.pl |
|
|
|
- chmod +x devkitARMupdate.pl |
|
|
|
- chmod +x devkitARMupdate.pl |
|
|
|
- ./devkitARMupdate.pl "$DEVKITPRO" |
|
|
|
- ./devkitARMupdate.pl "$DEVKITPRO" |
|
|
@ -32,4 +30,6 @@ install: |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
script: |
|
|
|
- cd examples |
|
|
|
- cd examples |
|
|
|
|
|
|
|
- export CC_3ds="arm-none-eabi-gcc" |
|
|
|
|
|
|
|
- export TARGET_CFLAGS="-mfloat-abi=hard -march=armv6k" |
|
|
|
- RUST_TARGET_PATH=$(pwd) xargo build --release |
|
|
|
- RUST_TARGET_PATH=$(pwd) xargo build --release |
|
|
|