Skip to content

Build PSP tests using the PSP toolchain #11

Build PSP tests using the PSP toolchain

Build PSP tests using the PSP toolchain #11

name: Generate PSP tests
run-name: Build PSP tests using the PSP toolchain
on: [push]
jobs:
generate-tests:
runs-on: ubuntu-latest
container: pspdev/pspdev:latest
steps:
- name: Install dependencies
run: apk add build-base git bash zip
- name: Checkout repository
uses: actions/checkout@v3
- name: Build PSP EBOOT.PBP tests
run: make psptests-clean && make -j $(getconf _NPROCESSORS_ONLN) psptests
- name: Package assets
run: make psptests-pbp-pack
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Upload artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: psp-tests-eboot-${{ steps.slug.outputs.sha8 }}
path: tests-release.zip