Dawn/.github/workflows/build-helloworld-vita.yml
2023-03-20 10:57:57 -07:00

46 lines
1.1 KiB
YAML

name: build-helloworld-vita
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
VITASDK: /usr/local/vitasdk
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Vita Toolchain
run: |
export PATH=$VITASDK/bin:$PATH
sudo apt-get install cmake
git clone https://github.com/vitasdk/vdpm
cd vdpm
./bootstrap-vitasdk.sh
./install-all.sh
- name: Install Vita Packages
run: |
export PATH=$VITASDK/bin:$PATH
sudo apt-get install bsdtar
git clone https://github.com/vitasdk/packages.git
cd packages
dir_array=(
"vitaGL"
)
curdir=$(pwd)
for d in "${dir_array[@]}";do
echo "${curdir}${d}"
cd "${curdir}/${d}"
vita-makepkg -C -f -d
tar -C $VITASDK/arm-vita-eabi/ -xvf *-arm.tar.xz
done
- name: Install Libraries
run: |
export PATH=$VITASDK/bin:$PATH
echo "Installing engine libs"
git submodule update --init --recursive