Build PSP tests using the PSP toolchain #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |