mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 22:21:52 +01:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
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"
|
|
- os: osx
|
|
osx_image: xcode8.3
|
|
|
|
cache:
|
|
directories:
|
|
- "$HOME/.local"
|
|
|
|
before_install:
|
|
- eval "${MATRIX_EVAL}"
|
|
|
|
git:
|
|
submodules: true
|
|
|
|
before_script:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 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; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://freefr.dl.sourceforge.net/project/devkitpro/devkitPPC/devkitPPC_r29-1/devkitPPC_r29-1-x86_64-osx.tar.bz2 -O /tmp/devkitPPC.tar.bz2; fi
|
|
- 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
|