mirror of
https://github.com/Maschell/libutils.git
synced 2024-12-03 17:04:17 +01:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
language: cpp
|
|
|
|
os: linux
|
|
sudo: false
|
|
dist: trusty
|
|
|
|
env:
|
|
global:
|
|
- DEVKITPRO=/opt/devkitpro
|
|
- WUT_ROOT=/opt/devkitpro/wut
|
|
- DEVKITPPC=/opt/devkitpro/devkitPPC
|
|
|
|
cache:
|
|
directories:
|
|
- "$HOME/.local"
|
|
- "$DEVKITPRO"
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- p7zip-full
|
|
|
|
before_install:
|
|
- mkdir -p "${DEVKITPRO}"
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo dpkg -i /tmp/devkitpro-pacman.deb; fi
|
|
- yes | sudo dkp-pacman -Syu devkitPPC --needed
|
|
- wget $(curl -s https://api.github.com/repos/decaf-emu/wut/releases/latest | grep 'browser_' | grep 'linux' | cut -d\" -f4)
|
|
|
|
|
|
install:
|
|
- 7z x -y $(ls | grep "linux") -o${WUT_ROOT}
|
|
|
|
before_script:
|
|
- cd $TRAVIS_BUILD_DIR/
|
|
|
|
script:
|
|
- mkdir build && cd build
|
|
- cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$WUT_ROOT ../
|
|
- make install |