Create the CI/CD of PSPSDK:

- Generate PSPSDK docker layer
- Generate and expose all the samples binaries (PBP files)
- Generate doxygen documentation and upload it to github pages
This commit is contained in:
Francisco Javier Trujillo Mata
2021-11-13 16:58:48 +01:00
parent 0a803b844d
commit fe46176fd0
3 changed files with 92 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: pspdev/psptoolchain:latest
container: ghcr.io/fjtrujy/psptoolchain:latest
steps:
- uses: actions/checkout@v2
@@ -22,5 +22,24 @@ jobs:
./bootstrap
./configure
make clean
make -j2
make -j $(getconf _NPROCESSORS_ONLN)
make install
- name: Get short SHA
id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Compile Examples
run: |
cd src/samples && make -f Makefile.samples
- name: Compress Samples folder folder
run: |
tar -zcvf samples.tar.gz src/samples
- name: Upload Samples artifacts
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: samples-${{ steps.slug.outputs.sha8 }}
path: samples.tar.gz