Skip to content

Commit 5bb79ba

Browse files
committed
Update readme and workflows
1 parent 71f492c commit 5bb79ba

File tree

4 files changed

+71
-2
lines changed

4 files changed

+71
-2
lines changed

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,3 +460,40 @@ jobs:
460460
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
461461
tag_name: ${{ steps.extract_tag.outputs.tag_name }}
462462
files: projects/*.zip
463+
464+
build-vita:
465+
runs-on: ubuntu-latest
466+
container: vitasdk/vitasdk:latest
467+
steps:
468+
- name: Checkout repository
469+
uses: actions/[email protected]
470+
471+
- name: Install required libraries
472+
run: |
473+
apk add git zip unzip py3-pillow
474+
475+
- name: Build VITA
476+
working-directory: projects
477+
run: make PLATFORM=VITA
478+
479+
- name: Package build
480+
working-directory: projects
481+
run: |
482+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
483+
unzip lgpt-resources.zip
484+
mv lgpt-resources-1.1/*/ ./resources/packaging
485+
rm -rf lgpt-resources*
486+
./resources/packaging/lgpt_package.sh
487+
488+
- name: Extract Git tag name
489+
id: extract_tag
490+
run: echo "::set-output name=tag_name::${GITHUB_REF#refs/tags/}"
491+
env:
492+
GITHUB_REF: ${{ github.ref }}
493+
494+
- name: Upload build release
495+
uses: softprops/action-gh-release@v2
496+
with:
497+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
498+
tag_name: ${{ steps.extract_tag.outputs.tag_name }}
499+
files: ./projects/*.zip

.github/workflows/check.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,3 +444,34 @@ jobs:
444444
name: LGPT-${{ github.job }}-${{ github.sha }}.zip
445445
path: projects/*.zip
446446
if-no-files-found: error
447+
448+
vita:
449+
runs-on: ubuntu-latest
450+
container: vitasdk/vitasdk:latest
451+
steps:
452+
- name: Checkout repository
453+
uses: actions/[email protected]
454+
455+
- name: Install required libraries
456+
run: |
457+
apk add git zip unzip py3-pillow
458+
459+
- name: Build VITA
460+
working-directory: projects
461+
run: make PLATFORM=VITA
462+
463+
- name: Package build
464+
working-directory: projects
465+
run: |
466+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
467+
unzip lgpt-resources.zip
468+
mv lgpt-resources-1.1/*/ ./resources/packaging
469+
rm -rf lgpt-resources*
470+
./resources/packaging/lgpt_package.sh
471+
472+
- name: Upload artifact
473+
uses: actions/upload-artifact@v4
474+
with:
475+
name: LGPT-${{ github.job }}-${{ github.sha }}.zip
476+
path: projects/*.zip
477+
if-no-files-found: error
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Install vpk via vitashell
1+
Install bin/lgpt-vita.vpk via vitashell
22

3-
Data/configs reside in ux0:/data/lgpt/
3+
Copy samplelib, and optionally demo track (lgpt_BETA) and bin/*.xml configs to ux0:/data/lgpt/
44

55
Enjoy!

projects/resources/packaging/lgpt_package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ collect_resources RG35XXPLUS lgpt-rg35xxplus.elf
6060
collect_resources MACOS LittleGPTracker.app
6161
# collect_resources RS97 lgpt.dge
6262
# collect_resources STEAM lgpt.steam-exe
63+
collect_resources VITA lgpt-vita.vpk

0 commit comments

Comments
 (0)