Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure getting real releases, only master branch, fix headers folder name #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ os:
language: c

before_install:
- sudo apt-get install qemu-kvm qemu qemu-user-static
- 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
- sudo apt-get install qemu-kvm qemu qemu-user-static jq
- curl -L "https://api.github.com/repos/vitasdk/autobuilds/releases?per_page=100" | jq -r '[.[] | select(.prerelease | not)][].assets[].browser_download_url' | grep 'master' | grep 'x86_64-linux' | head -n 1 | xargs curl -L | tar xj
- export VITASDK=$PWD/vitasdk
- export PATH=$VITASDK/bin:$PATH
- wget https://releases.linaro.org/archive/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
- tar xf gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
- curl -L "https://releases.linaro.org/archive/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" | tar xJ
- export PATH=$(pwd)/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin:$PATH
- rm gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
- git clone https://github.com/JagerDesu/vita-shaders
- cd vita-shaders
- make
Expand All @@ -21,10 +18,10 @@ before_install:
script:
- make
- mkdir -p output/lib
- mkdir -p output/includes
- cp shaders/*.h output/includes/
- mkdir -p output/include
- cp shaders/*.h output/include/
- cp libvitashaders.a output/lib/
- tar -zcvf vita-shader-collection.tar.gz -C output .
- tar -zcvf vita-shader-collection.tar.gz -C output include lib
env:
global:
- TOP=$PWD
Expand Down