mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-13 03:12:20 +00:00
5cb05ac6c4
pnglibconf.h generated with these lines: PATH=$DEVKITPPC/bin:$PATH CPPFLAGS=-I$DEVKITPRO/portlibs/ppc/include LDFLAGS=-L$DEVKITPRO/portlibs/ppc/lib ./configure --prefix=$DEVKITPRO/portlibs/ppc --host=powerpc-eabi --disable-shared --enable-static make
45 lines
842 B
YAML
45 lines
842 B
YAML
language: c
|
|
sudo: required
|
|
|
|
os:
|
|
- linux
|
|
|
|
env:
|
|
global:
|
|
- DEVKITPRO=/opt/devkitpro
|
|
- DEVKITPPC=${DEVKITPRO}/devkitPPC
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- doxygen
|
|
- doxygen-latex
|
|
|
|
cache:
|
|
directories:
|
|
- ${DEVKITPRO}
|
|
|
|
before_install:
|
|
- wget https://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitPPCupdate.pl
|
|
|
|
install:
|
|
- sudo perl devkitPPCupdate.pl
|
|
|
|
script:
|
|
- (cd GRRLIB && sudo -E make clean all install)
|
|
- (cd examples && make)
|
|
- (cd GRRLIB && sudo -E make PLATFORM=cube clean all)
|
|
- doxygen grrlib.doxygen >/dev/null
|
|
- make --directory=latex >/dev/null
|
|
|
|
before_deploy:
|
|
- touch doc/.nojekyll
|
|
- mv latex/refman.pdf doc/PDF-documentation.pdf
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
local_dir: $TRAVIS_BUILD_DIR/doc
|
|
github_token: $GITHUB_TOKEN
|
|
on:
|
|
branch: master
|