1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-26 12:12:02 +00:00

workflow: build nxdumptool GUI binary

This commit is contained in:
Pablo Curiel 2023-03-25 00:39:34 +01:00
parent 79a6f5f741
commit 55f3856f47

View file

@ -1,4 +1,4 @@
name: Build nxdumptool 'rewrite' PoC binaries name: Build nxdumptool-rewrite binaries
on: on:
push: push:
@ -56,12 +56,17 @@ jobs:
cd "$GITHUB_WORKSPACE/nxdumptool/libs/libusbhsfs" cd "$GITHUB_WORKSPACE/nxdumptool/libs/libusbhsfs"
sudo --preserve-env=DEVKITPRO,DEVKITARM,DEVKITPPC -n make fs-libs -j$(nproc) sudo --preserve-env=DEVKITPRO,DEVKITARM,DEVKITPPC -n make fs-libs -j$(nproc)
- name: Build nxdumptool - name: Build nxdumptool-rewrite PoC binaries
run: | run: |
cd "$GITHUB_WORKSPACE/nxdumptool" cd "$GITHUB_WORKSPACE/nxdumptool"
echo "nxdt_commit=$(git rev-parse --short HEAD)" >> $GITHUB_ENV echo "nxdt_commit=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
./build.sh ./build.sh
- name: Build nxdumptool-rewrite GUI binary
run: |
cd "$GITHUB_WORKSPACE/nxdumptool"
sudo --preserve-env=DEVKITPRO,DEVKITARM,DEVKITPPC -n make -j$(nproc)
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: nxdumptool-rewrite_poc_${{ env.nxdt_commit }}.7z name: nxdumptool-rewrite_poc_${{ env.nxdt_commit }}.7z
@ -73,3 +78,15 @@ jobs:
name: nxdumptool-rewrite_poc_${{ env.nxdt_commit }}-Debug_ELFs.7z name: nxdumptool-rewrite_poc_${{ env.nxdt_commit }}-Debug_ELFs.7z
path: nxdumptool/nxdumptool-rewrite_poc_${{ env.nxdt_commit }}-Debug_ELFs.7z path: nxdumptool/nxdumptool-rewrite_poc_${{ env.nxdt_commit }}-Debug_ELFs.7z
if-no-files-found: error if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: nxdumptool-rewrite-${{ env.nxdt_commit }}.nro
path: nxdumptool/nxdumptool.nro
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: nxdumptool-rewrite-${{ env.nxdt_commit }}.elf
path: nxdumptool/nxdumptool.elf
if-no-files-found: error