Skip to content

Commit

Permalink
Build PS Vita release from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeeynamo committed Jan 18, 2021
1 parent 9b4daf3 commit c66c8b2
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build_psvita.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build Sonic 1 and 2 for PS Vita
on:
push:
branches:
- master
- main
- psvita

jobs:
sonic1-psvita:
runs-on: ubuntu-latest
container: vitasdk/vitasdk:latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: apk add --no-cache make cmake
- name: Build Sonic 1
run: |
cd Sonic1.Vita
cmake .
make
- name: Upload VPK
uses: actions/upload-artifact@v2
with:
name: Sonic1-vita
path: Sonic1.Vita/Sonic1.vpk
if-no-files-found: error
sonic2-psvita:
runs-on: ubuntu-latest
container: vitasdk/vitasdk:latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: apk add --no-cache make cmake
- name: Build Sonic 2
run: |
cd Sonic2.Vita
cmake .
make
- name: Upload VPK
uses: actions/upload-artifact@v2
with:
name: sonic2-vita
path: Sonic2.Vita/Sonic2.vpk
if-no-files-found: error

0 comments on commit c66c8b2

Please sign in to comment.