Skip to content

Commit 58f581c

Browse files
committed
Add automated PSP build
1 parent e7fbdf7 commit 58f581c

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
laserkombat
2727
assets
2828
COPYING
29+
2930
Windows:
3031
runs-on: windows-latest
3132
defaults:
@@ -61,13 +62,36 @@ jobs:
6162
assets
6263
COPYING
6364
65+
PSP:
66+
runs-on: ubuntu-latest
67+
container: pspdev/pspdev:latest
68+
steps:
69+
- name: Checkout
70+
uses: actions/checkout@v7
71+
- name: Build
72+
run: |
73+
mkdir laserkombat && cd laserkombat
74+
psp-cmake -DCMAKE_BUILD_TYPE=Release ..
75+
make
76+
cp ../COPYING ./
77+
psp-create-license-directory sdl2 sdl2-ttf
78+
- name: Publish artifacts
79+
uses: actions/upload-artifact@v7
80+
with:
81+
name: laserkombat-psp
82+
path: |
83+
laserkombat/EBOOT.PBP
84+
laserkombat/assets
85+
laserkombat/COPYING
86+
laserkombat/third-party-licenses
87+
6488
Release:
65-
needs: [Linux, Windows]
89+
needs: [Linux, Windows, PSP]
6690
if: startsWith(github.ref, 'refs/tags/')
6791
runs-on: ubuntu-latest
6892
strategy:
6993
matrix:
70-
build: [linux, windows]
94+
build: [linux, windows, psp]
7195
steps:
7296
- uses: actions/download-artifact@v8
7397
- name: Zip artifacts

0 commit comments

Comments
 (0)