mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-30 15:13:07 +00:00
for Emulators => for Ryujinx & for yuzu
This commit is contained in:
parent
7f6df57f4a
commit
f60fc956d6
4 changed files with 36 additions and 9 deletions
15
.github/actions/build/action.yml
vendored
15
.github/actions/build/action.yml
vendored
|
@ -11,7 +11,7 @@ inputs:
|
||||||
required : false
|
required : false
|
||||||
default : ''
|
default : ''
|
||||||
emu:
|
emu:
|
||||||
description : 'what system the build is for, Switch or Emulators'
|
description : 'what system the build is for: Switch, Ryujinx or yuzu'
|
||||||
required : false
|
required : false
|
||||||
default : 'Switch'
|
default : 'Switch'
|
||||||
|
|
||||||
|
@ -56,11 +56,22 @@ runs:
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-u `id -u`:`id -g` \
|
-u `id -u`:`id -g` \
|
||||||
-v "/$PWD/":/app/ \
|
-v "/$PWD/":/app/ \
|
||||||
-e ISEMU=${{ (inputs.emu == 'Emulators' && '1') || '0' }} \
|
-e ISEMU=${{ (inputs.emu != 'Switch' && '1') || '0' }} \
|
||||||
${{ (steps.env.outputs.version != '' && format('-e BUILDVER={0}', steps.env.outputs.version)) || '' }} \
|
${{ (steps.env.outputs.version != '' && format('-e BUILDVER={0}', steps.env.outputs.version)) || '' }} \
|
||||||
smoo-build-env \
|
smoo-build-env \
|
||||||
;
|
;
|
||||||
cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/.
|
cp -r ./romfs/ ./starlight_patch_100/atmosphere/contents/0100000000010000/.
|
||||||
|
-
|
||||||
|
name : Yuzu
|
||||||
|
shell : bash
|
||||||
|
if : ${{ inputs.emu == 'yuzu' }}
|
||||||
|
run: |
|
||||||
|
cd ./starlight_patch_100/
|
||||||
|
mkdir ./SMOO/
|
||||||
|
mv ./atmosphere/contents/0100000000010000/exefs ./SMOO/exefs
|
||||||
|
mv ./atmosphere/contents/0100000000010000/romfs ./SMOO/romfs
|
||||||
|
mv ./atmosphere/exefs_patches/StarlightBase/3CA12DFAAF9C82DA064D1698DF79CDA1.ips ./SMOO/romfs/
|
||||||
|
rm -rf ./atmosphere/
|
||||||
-
|
-
|
||||||
name : Upload artifacts
|
name : Upload artifacts
|
||||||
uses : actions/upload-artifact@v3
|
uses : actions/upload-artifact@v3
|
||||||
|
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
emu : [ Switch, Emulators ]
|
emu : [ Switch, Ryujinx, yuzu ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
|
14
.github/workflows/dev-release.yml
vendored
14
.github/workflows/dev-release.yml
vendored
|
@ -21,11 +21,12 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
emu : [ Switch, Emulators ]
|
emu : [ Switch, Ryujinx, yuzu ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
filename1: ${{ steps.set-output.outputs.filename-Switch }}
|
filename1: ${{ steps.set-output.outputs.filename-Switch }}
|
||||||
filename2: ${{ steps.set-output.outputs.filename-Emulators }}
|
filename2: ${{ steps.set-output.outputs.filename-Ryujinx }}
|
||||||
|
filename3: ${{ steps.set-output.outputs.filename-yuzu }}
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name : Checkout
|
name : Checkout
|
||||||
|
@ -72,12 +73,19 @@ jobs:
|
||||||
upload_url : ${{ steps.release.outputs.upload_url }}
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name : Attach build artifacts to release (Emulators)
|
name : Attach build artifacts to release (Ryujinx)
|
||||||
uses : ./.github/actions/attach
|
uses : ./.github/actions/attach
|
||||||
with:
|
with:
|
||||||
filename : ${{ needs.build.outputs.filename2 }}
|
filename : ${{ needs.build.outputs.filename2 }}
|
||||||
upload_url : ${{ steps.release.outputs.upload_url }}
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
-
|
||||||
|
name : Attach build artifacts to release (yuzu)
|
||||||
|
uses : ./.github/actions/attach
|
||||||
|
with:
|
||||||
|
filename : ${{ needs.build.outputs.filename3 }}
|
||||||
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
move:
|
move:
|
||||||
needs: attach
|
needs: attach
|
||||||
|
|
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -14,11 +14,12 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
emu : [ Switch, Emulators ]
|
emu : [ Switch, Ryujinx, yuzu ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
filename1: ${{ steps.set-output.outputs.filename-Switch }}
|
filename1: ${{ steps.set-output.outputs.filename-Switch }}
|
||||||
filename2: ${{ steps.set-output.outputs.filename-Emulators }}
|
filename2: ${{ steps.set-output.outputs.filename-Ryujinx }}
|
||||||
|
filename3: ${{ steps.set-output.outputs.filename-yuzu }}
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name : Checkout
|
name : Checkout
|
||||||
|
@ -59,9 +60,16 @@ jobs:
|
||||||
upload_url : ${{ steps.release.outputs.upload_url }}
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name : Attach build artifacts to release (Emulators)
|
name : Attach build artifacts to release (Ryujinx)
|
||||||
uses : ./.github/actions/attach
|
uses : ./.github/actions/attach
|
||||||
with:
|
with:
|
||||||
filename : ${{ needs.build.outputs.filename2 }}
|
filename : ${{ needs.build.outputs.filename2 }}
|
||||||
upload_url : ${{ steps.release.outputs.upload_url }}
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
-
|
||||||
|
name : Attach build artifacts to release (yuzu)
|
||||||
|
uses : ./.github/actions/attach
|
||||||
|
with:
|
||||||
|
filename : ${{ needs.build.outputs.filename3 }}
|
||||||
|
upload_url : ${{ steps.release.outputs.upload_url }}
|
||||||
|
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue