2017-11-19 11:08:20 +01:00
|
|
|
language: c
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- DEVKITPRO=$HOME/devkitPro
|
2017-12-16 11:30:01 +01:00
|
|
|
- DEVKITPPC=${DEVKITPRO}/devkitPPC
|
2017-11-19 11:08:20 +01:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${DEVKITPRO}
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- p7zip-full
|
|
|
|
|
|
|
|
before_install:
|
2017-12-16 11:27:22 +01:00
|
|
|
- mkdir -p "${DEVKITPRO}"
|
|
|
|
- wget http://download.sourceforge.net/devkitpro/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O devkitPPC-linux.tar.bz2
|
|
|
|
- wget https://github.com/Maschell/dynamic_libs/archive/lib.tar.gz -O dynamic_libs.tar.gz
|
|
|
|
- wget https://github.com/Maschell/libutils/archive/master.tar.gz -O libutils.tar.gz
|
2017-11-19 11:08:20 +01:00
|
|
|
|
|
|
|
install:
|
2017-12-16 11:27:22 +01:00
|
|
|
- tar -xjf devkitPPC-linux.tar.bz2 -C ${DEVKITPRO}/
|
|
|
|
- tar -xzvf dynamic_libs.tar.gz
|
|
|
|
- tar -xzvf libutils.tar.gz
|
2017-11-19 11:08:20 +01:00
|
|
|
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
|
2017-12-16 11:27:22 +01:00
|
|
|
- 7z x -y ./dynamic_libs-lib/libs/portlibs.zip -o${DEVKITPRO}
|
|
|
|
- (cd dynamic_libs-lib && make && make install)
|
|
|
|
- (cd libutils-master && make && make install)
|
|
|
|
|
2017-11-19 11:08:20 +01:00
|
|
|
script:
|
|
|
|
- make
|
|
|
|
|