-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
44 lines (37 loc) · 1.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
sudo: false
os:
- linux
env:
global:
- DEVKITPRO=$HOME/devkitPro
- DEVKITPPC=${DEVKITPRO}/devkitPPC
- PORTLIBREPOS=$HOME/portlibrepos
cache:
directories:
- ${DEVKITPRO}
addons:
apt:
packages:
- p7zip-full
- zip
before_install:
- mkdir -p "${DEVKITPRO}"
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb
- sudo dpkg -i /tmp/devkitpro-pacman.deb
- yes | sudo dkp-pacman -Syu devkitPPC --needed
- 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
- wget https://github.com/Maschell/libgui/archive/master.tar.gz -O libgui.tar.gz
install:
- tar -xzvf dynamic_libs.tar.gz
- tar -xzvf libutils.tar.gz
- tar -xzvf libgui.tar.gz
- 7z x -y ./dynamic_libs-lib/libs/portlibs.zip -o${DEVKITPRO}
- 7z x -y ./libgui-master/libs/portlibs.zip -o${DEVKITPRO}
- 7z x -y ./libs/portlibs.zip -o${DEVKITPRO}
- (cd dynamic_libs-lib && make -j8 && make install)
- (cd libutils-master && make -j8 && make install)
- (cd libgui-master && make -j8 && make install)
script:
- make -j8