forked from yifanlu/taiHEN
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
41 lines (38 loc) · 829 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
os:
- linux
dist: trusty
sudo: required
language: c
script:
- curl https://api.github.com/repos/vitasdk/autobuilds/releases | grep browser_download_url | grep linux | head -n 1 | cut -d '"' -f 4 | xargs wget
- tar xjf *.tar.bz2
- export VITASDK=$PWD/vitasdk
- export PATH=$VITASDK/bin:$PATH
- mkdir build && cd build
- cmake ../
- make
- cd ..
- mkdir -p output/lib
- mkdir -p output/include
- cp taihen.h output/include
- cp build/taihen-stubs/*.a output/lib/
- tar -C output -zcvf $PWD/taihen.tar.gz .
env:
global:
- TOP=$PWD
- PREFIX=$TOP/dist
deploy:
provider: releases
api_key: $OAUTH
file:
- "build/taihen.skprx"
- "taihen.tar.gz"
skip_cleanup: true
on:
tags: true
branches:
except:
- /^*-v[0-9]/
notifications:
irc:
- "chat.freenode.net#vitasdk"