GRRLIB/.travis.yml

48 lines
978 B
YAML
Raw Normal View History

2015-10-30 01:49:05 +00:00
language: c
2020-01-11 20:11:20 +00:00
dist: bionic
sudo: required
2015-10-30 01:49:05 +00:00
os:
- linux
env:
global:
- DEVKITPRO=/opt/devkitpro
2015-10-30 01:49:05 +00:00
- DEVKITPPC=${DEVKITPRO}/devkitPPC
addons:
apt:
packages:
- doxygen
- doxygen-latex
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
- 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:
- (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
before_deploy:
2017-12-01 16:10:12 +00:00
- touch doc/.nojekyll
- mv latex/refman.pdf doc/PDF-documentation.pdf
deploy:
provider: pages
skip_cleanup: true
2018-05-12 02:01:53 +00:00
local_dir: doc
github_token: $GITHUB_TOKEN
on:
branch: master