2022-01-25 02:50:18 +00:00
|
|
|
name: CI PSP
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
repository_dispatch:
|
|
|
|
types: [run_build]
|
|
|
|
|
2022-07-01 05:43:08 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-01-25 02:50:18 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-psp:latest
|
|
|
|
options: --user root
|
|
|
|
|
|
|
|
steps:
|
2022-07-02 12:09:29 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-01-25 02:50:18 +00:00
|
|
|
|
|
|
|
- name: Compile bootstrap
|
|
|
|
run: |
|
|
|
|
cd bootstrap/psp1/kernel_functions_prx
|
|
|
|
make -j$(getconf _NPROCESSORS_ONLN) clean
|
|
|
|
make -j$(getconf _NPROCESSORS_ONLN)
|
|
|
|
|
|
|
|
- name: Compile Salamander
|
|
|
|
run: |
|
|
|
|
make -f Makefile.psp1.salamander -j$(getconf _NPROCESSORS_ONLN) clean
|
|
|
|
make -f Makefile.psp1.salamander -j$(getconf _NPROCESSORS_ONLN)
|
|
|
|
|
|
|
|
- name: Compile RA
|
|
|
|
run: |
|
|
|
|
make -f Makefile.psp1 -j$(getconf _NPROCESSORS_ONLN) clean
|
|
|
|
make -f Makefile.psp1 -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1
|
|
|
|
|
|
|
|
- name: Get short SHA
|
|
|
|
id: slug
|
|
|
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
|
|
|
|
2022-07-02 12:09:19 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2022-01-25 02:50:18 +00:00
|
|
|
with:
|
|
|
|
name: RA-PSP-dummy-${{ steps.slug.outputs.sha8 }}
|
|
|
|
path: |
|
|
|
|
kernel_functions.prx
|
|
|
|
EBOOT.PBP
|