2015-10-30 01:49:05 +00:00
|
|
|
language: c
|
2017-02-25 18:16:08 +00:00
|
|
|
sudo: required
|
2015-10-30 01:49:05 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2018-05-11 21:32:06 +00:00
|
|
|
- DEVKITPRO=/opt/devkitpro
|
2015-10-30 01:49:05 +00:00
|
|
|
- DEVKITPPC=${DEVKITPRO}/devkitPPC
|
|
|
|
|
2017-07-03 02:01:58 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- doxygen
|
2017-12-01 14:14:16 +00:00
|
|
|
- doxygen-latex
|
2017-07-03 02:01:58 +00:00
|
|
|
|
2017-03-06 03:16:36 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${DEVKITPRO}
|
|
|
|
|
2015-10-30 01:49:05 +00:00
|
|
|
before_install:
|
2018-07-01 01:10:21 +00:00
|
|
|
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
|
2015-10-30 01:49:05 +00:00
|
|
|
|
|
|
|
install:
|
2018-07-01 01:10:21 +00:00
|
|
|
- sudo dpkg --install devkitpro-pacman.deb
|
2019-04-06 22:27:19 +00:00
|
|
|
- sudo dkp-pacman --sync --sysupgrade --refresh --needed --noconfirm wii-dev ppc-libpng ppc-freetype ppc-libjpeg-turbo
|
2015-10-30 01:49:05 +00:00
|
|
|
|
|
|
|
script:
|
2017-02-25 18:16:08 +00:00
|
|
|
- (cd GRRLIB && sudo -E make clean all install)
|
|
|
|
- (cd examples && make)
|
|
|
|
- (cd GRRLIB && sudo -E make PLATFORM=cube clean all)
|
2017-12-04 01:22:36 +00:00
|
|
|
- doxygen grrlib.doxygen >/dev/null
|
|
|
|
- make --directory=latex >/dev/null
|
2017-07-03 02:01:58 +00:00
|
|
|
|
2017-11-21 14:50:03 +00:00
|
|
|
before_deploy:
|
2017-12-01 16:10:12 +00:00
|
|
|
- touch doc/.nojekyll
|
|
|
|
- mv latex/refman.pdf doc/PDF-documentation.pdf
|
2017-11-21 14:50:03 +00:00
|
|
|
|
2017-07-03 02:01:58 +00:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
2018-05-12 02:01:53 +00:00
|
|
|
local_dir: doc
|
2017-07-03 02:01:58 +00:00
|
|
|
github_token: $GITHUB_TOKEN
|
|
|
|
on:
|
|
|
|
branch: master
|