1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-10-02 09:14:27 +00:00

Add debug symbols into plugin NRO(#603)

This commit is contained in:
jugeeya 2023-08-21 12:32:49 -07:00 committed by GitHub
parent 13c87133bf
commit 1186398c50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -60,7 +60,7 @@ jobs:
cargo-skyline skyline update-std
- name: Build release NRO
id: build_release
run: cargo-skyline skyline build --release
run: RUSTFLAGS=-g cargo-skyline skyline build --release
- name: Upload plugin artifact
uses: actions/upload-artifact@v3
with:
@ -85,7 +85,7 @@ jobs:
cargo install cargo-skyline
cargo-skyline skyline update-std
- name: Build outside_training_mode NRO
run: cargo-skyline skyline build --release --features outside_training_mode
run: RUSTFLAGS=-g cargo-skyline skyline build --release --features outside_training_mode
- name: Upload plugin (outside training mode) artifact
uses: actions/upload-artifact@v3
with:

3
ryujinx_build.ps1 vendored
View file

@ -12,6 +12,9 @@ $SMASH_NSP_PATH='C:\Users\Josh\Documents\Games\ROMs\Super Smash Bros Ultimate [B
$IP=(Test-Connection -ComputerName (hostname) -Count 1 | Select -ExpandProperty IPV4Address).IPAddressToString
# Set symbols flag
$env:RUSTFLAGS="-g"
cargo skyline build --release --features layout_arc_from_file
if (($lastexitcode -ne 0)) {
exit $lastexitcode

2
ryujinx_build.sh vendored
View file

@ -6,7 +6,7 @@ SMASH_APPLICATION_PATH="C:\Users\Jdsam\Downloads\Super Smash Bros. Ultimate (Wor
RYUJINX_SMASH_SKYLINE_PLUGINS_PATH="/mnt/c/Users/Jdsam/AppData/Roaming/Ryujinx/mods/contents/01006a800016e000/romfs/skyline/plugins"
# Build with release feature
cargo skyline build --release --features layout_arc_from_file
RUSTFLAGS=-g cargo skyline build --release --features layout_arc_from_file
# Copy over to plugins path
cp target/aarch64-skyline-switch/release/libtraining_modpack.nro $RYUJINX_SMASH_SKYLINE_PLUGINS_PATH