From 42e67192418643478ac6ebd897723f4a5dd63b80 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 5 Dec 2023 21:30:47 +1100 Subject: [PATCH] Make debugging possible for console builds --- .github/workflows/build_3ds.yml | 8 +++++++- .github/workflows/build_dreamcast.yml | 10 +++++++++- .github/workflows/build_ps3.yml | 12 ++++++++++-- .github/workflows/build_psp.yml | 8 +++++++- .github/workflows/build_vita.yml | 8 +++++++- .github/workflows/build_wiigc.yml | 14 +++++++++++++- 6 files changed, 53 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_3ds.yml b/.github/workflows/build_3ds.yml index 9de9f0677..88401eeb9 100644 --- a/.github/workflows/build_3ds.yml +++ b/.github/workflows/build_3ds.yml @@ -30,4 +30,10 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-3ds.3dsx' - DEST_NAME: 'ClassiCube-3ds.3dsx' \ No newline at end of file + DEST_NAME: 'ClassiCube-3ds.3dsx' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-3ds.elf' + DEST_NAME: 'ClassiCube-3ds.elf' \ No newline at end of file diff --git a/.github/workflows/build_dreamcast.yml b/.github/workflows/build_dreamcast.yml index c121aa17c..3edb20d4f 100644 --- a/.github/workflows/build_dreamcast.yml +++ b/.github/workflows/build_dreamcast.yml @@ -19,6 +19,7 @@ jobs: source /opt/toolchains/dc/kos/environ.sh export PATH=/opt/toolchains/dc/kos/utils/img4dc/build/cdi4dc/:$PATH make dreamcast + - uses: ./.github/actions/notify_failure if: ${{ always() && steps.compile.outcome == 'failure' }} @@ -26,8 +27,15 @@ jobs: NOTIFY_MESSAGE: 'Failed to compile Dreamcast build' WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}' + - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-dc.cdi' - DEST_NAME: 'ClassiCube-dc.cdi' \ No newline at end of file + DEST_NAME: 'ClassiCube-dc.cdi' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-dc.elf' + DEST_NAME: 'ClassiCube-dc.elf' \ No newline at end of file diff --git a/.github/workflows/build_ps3.yml b/.github/workflows/build_ps3.yml index 9cd280932..3683acf5c 100644 --- a/.github/workflows/build_ps3.yml +++ b/.github/workflows/build_ps3.yml @@ -20,6 +20,7 @@ jobs: export PSL1GHT=/usr/local/ps3dev export PS3DEV=/usr/local/ps3dev make ps3 + - uses: ./.github/actions/notify_failure if: ${{ always() && steps.compile.outcome == 'failure' }} @@ -27,8 +28,15 @@ jobs: NOTIFY_MESSAGE: 'Failed to compile PS3 build' WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}' + - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: - SOURCE_FILE: 'ClassiCube-ps3.self' - DEST_NAME: 'ClassiCube-ps3.self' \ No newline at end of file + SOURCE_FILE: 'ClassiCube-ps3.pkg' + DEST_NAME: 'ClassiCube-ps3.pkg' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-ps3.elf' + DEST_NAME: 'ClassiCube-ps3.elf' \ No newline at end of file diff --git a/.github/workflows/build_psp.yml b/.github/workflows/build_psp.yml index 12f4b0208..7b7e3b110 100644 --- a/.github/workflows/build_psp.yml +++ b/.github/workflows/build_psp.yml @@ -35,4 +35,10 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'EBOOT.PBP' - DEST_NAME: 'EBOOT.PBP' \ No newline at end of file + DEST_NAME: 'EBOOT.PBP' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-psp.elf' + DEST_NAME: 'ClassiCube-psp.elf' \ No newline at end of file diff --git a/.github/workflows/build_vita.yml b/.github/workflows/build_vita.yml index 95e6bab2c..10d5a54f2 100644 --- a/.github/workflows/build_vita.yml +++ b/.github/workflows/build_vita.yml @@ -30,4 +30,10 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-vita.vpk' - DEST_NAME: 'ClassiCube-vita.vpk' \ No newline at end of file + DEST_NAME: 'ClassiCube-vita.vpk' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-vita.elf' + DEST_NAME: 'ClassiCube-vita.elf' \ No newline at end of file diff --git a/.github/workflows/build_wiigc.yml b/.github/workflows/build_wiigc.yml index 93168180a..45ce2e2fd 100644 --- a/.github/workflows/build_wiigc.yml +++ b/.github/workflows/build_wiigc.yml @@ -38,4 +38,16 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-gc.dol' - DEST_NAME: 'ClassiCube-gc.dol' \ No newline at end of file + DEST_NAME: 'ClassiCube-gc.dol' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-wii.elf' + DEST_NAME: 'ClassiCube-wii.elf' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-gc.elf' + DEST_NAME: 'ClassiCube-gc.elf' \ No newline at end of file