mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 09:42:42 +01:00
Add .travis.yml
This commit is contained in:
parent
8b4816d6f4
commit
e0f1b03edf
37
.travis.yml
Normal file
37
.travis.yml
Normal file
@ -0,0 +1,37 @@
|
||||
language: cpp
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-6
|
||||
- zlib1g-dev
|
||||
env:
|
||||
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.local"
|
||||
|
||||
before_install:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
|
||||
git:
|
||||
submodules: true
|
||||
|
||||
before_script:
|
||||
- wget https://freefr.dl.sourceforge.net/project/devkitpro/devkitPPC/devkitPPC_r29-1/devkitPPC_r29-1-x86_64-linux.tar.bz2 -O /tmp/devkitPPC.tar.bz2
|
||||
- tar -xjf /tmp/devkitPPC.tar.bz2
|
||||
- export DEVKITPPC=$PWD/devkitPPC
|
||||
|
||||
script:
|
||||
- cd "$TRAVIS_BUILD_DIR"
|
||||
- mkdir cbuild && cd cbuild
|
||||
- cmake -DCMAKE_INSTALL_PREFIX=/tmp/wut_install ../
|
||||
- make -j4
|
||||
- make install
|
Loading…
Reference in New Issue
Block a user