Skip to content

Make VitaGL branch (test purposes) #33

Make VitaGL branch (test purposes)

Make VitaGL branch (test purposes) #33

Workflow file for this run

name: 🎮 PSVita Builds
on: [push, pull_request]
# Global Settings
env:
GODOT_BASE_BRANCH: 3.x
SCONSFLAGS: verbose=yes warnings=all werror=no debug_symbols=no
VITASDK: /usr/local/vitasdk
EUID: 1 makepkg
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-vita
cancel-in-progress: true
jobs:
vita-template:
runs-on: "ubuntu-20.04"
name: Template (target=release, tools=no)
steps:
- uses: actions/checkout@v2
# Azure repositories are not reliable, we need to prevent azure giving us packages.
- name: Make apt sources.list use the default Ubuntu repositories
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f misc/ci/sources.list /etc/apt/sources.list
sudo apt-get update
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache
continue-on-error: true
- name: Setup python and scons
uses: ./.github/actions/godot-deps
- name: Setup VitaSDK
run: |
sudo apt-get install cmake libarchive-tools fakeroot zip -y
git clone https://github.com/vitasdk/vdpm
git clone https://github.com/isage/vita-packages-extra
cd vdpm
./bootstrap-vitasdk.sh
./install-all.sh
export PATH=$VITASDK/bin:$PATH
vdpm vita-rss-libdl
cd ../vita-packages-extra/pvr_psp2
vita-makepkg
vdpm *-arm.tar.xz
- name: Compilation
uses: ./.github/actions/godot-build
with:
sconsflags: ${{ env.SCONSFLAGS }}
platform: vita
target: release
tools: false
- name: Upload artifact
uses: ./.github/actions/upload-artifact