mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 02:44:17 +00:00
Add debug symbols into plugin NRO(#603)
This commit is contained in:
parent
13c87133bf
commit
1186398c50
3 changed files with 6 additions and 3 deletions
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
@ -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
3
ryujinx_build.ps1
vendored
|
@ -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
2
ryujinx_build.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue