wut/.travis.yml

59 lines
1.8 KiB
YAML
Raw Normal View History

2017-06-02 14:49:09 +02:00
language: cpp
matrix:
include:
- os: linux
2019-01-18 17:04:32 +01:00
dist: xenial
2018-05-23 00:08:13 +02:00
sudo: required
2019-04-09 11:17:52 +02:00
env: DEPLOY_FILE=wut-*.tar.bz2
2018-05-23 00:08:13 +02:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:cginternals/backports-ppa'
2017-06-02 14:49:09 +02:00
cache:
directories:
- "$HOME/.local"
2019-01-18 17:04:32 +01:00
- "/opt/devkitpro"
2017-06-02 14:49:09 +02:00
git:
submodules: true
2018-05-23 00:08:13 +02:00
install:
2019-01-18 17:04:32 +01:00
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb
- sudo dpkg -i /tmp/devkitpro-pacman.deb
- yes | sudo dkp-pacman -Syu --needed devkitPPC wut-tools
2019-01-18 17:04:32 +01:00
- export DEVKITPRO=/opt/devkitpro
2018-05-23 00:08:13 +02:00
- export DEVKITPPC=/opt/devkitpro/devkitPPC
- export PATH=$DEVKITPRO/tools/bin:$DEVKITPPC/bin:$PATH
2017-06-02 14:49:09 +02:00
script:
- cd "$TRAVIS_BUILD_DIR"
2018-06-15 10:06:37 +02:00
# Build wut
- make -j4
- sudo make install
2018-06-18 11:29:24 +02:00
# Build tests
2019-04-09 11:17:52 +02:00
- echo Tests disabled for now
# - cd tests
# - mkdir build && cd build
# - cmake ../
# - make -j4 VERBOSE=TRUE
# - cd ../../
2018-06-15 10:06:37 +02:00
# Build samples
2019-04-09 11:17:52 +02:00
- cd samples/make
- make -j4
2018-06-15 10:06:37 +02:00
- cd ../../
2018-06-15 09:43:15 +02:00
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: gH3xndfXg4xCXUaqYvGecr9mzLXMMPOZfpqhnwuTIVnlAcR3jKeJ/3jlLs2Rm+GL1Mhby6f1YmtlhRX+G+OzDnp67m3kZaPsdZxqdn7SnBrVFEAbyv92wVullZB5O4mi7hYz5kAqFl0nzzfv7x5O1UtAqM3btFQAM4hiLDo2yqxsGCZsAsOlGCrwt6602hz0qnJ7PeOFAsxygdhdCmF+oWSzXVt0CZ1QfCZQzflZNO0M/CbYRtEcRE3iiHSWo6GRvMkTPw5o5Xca4cyuf1E86Aaym/ccwjKbrEIj77tImiH5iGhF7urXnjk2AxmpXHcDHSdB1WFLHdkbE7tdyhc11ahBJeOcof/LN3t/+HVqwjpse17kBBemc0y4pHyxSRZFoERQaP2mEvUMS1dVQXVdHm0RT3IKk7QBlRw0WTJX7sE836dhRenO03WyFgDRxNC6AT7DZsyN2UDEbOPFosBboiU73I3r8gvQtOKpMuDji6RPqUTUgEsB5HHXK1HLyijTAVbZPErNX97ucl6LdQ/uxmd/xgbZFc0jBUKa50H1/UN9LDlbw4Lf51Frl4rxg6DdZtDVx+6FTNaALm1iwAnVa7lhCDoH5Z+KVKJjKY1xW8P+OtTVFs1ZR/hkwblgc72hDShRyWkycYQTYgHwnRHL3OOObXDT6hZzggE5NwZJ8wg=
2018-06-15 09:47:35 +02:00
file_glob: true
file: $WUT_ROOT/$DEPLOY_FILE
2018-06-15 09:43:15 +02:00
on:
2019-01-18 17:04:32 +01:00
repo: devkitPro/wut
2018-06-15 09:43:15 +02:00
tags: true