Actually fix CI

This commit is contained in:
Korbo 2025-07-06 17:29:42 -05:00
parent 936b8c2816
commit f67394bb3e
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,7 @@ jobs:
cache: 'true' cache: 'true'
- name: Install 3DS dependencies - name: Install 3DS dependencies
if: ${{ matrix.n3ds }}
run: | run: |
wget https://github.com/diasurgical/bannertool/releases/download/1.2.0/bannertool.zip wget https://github.com/diasurgical/bannertool/releases/download/1.2.0/bannertool.zip
unzip -j "bannertool.zip" "linux-x86_64/bannertool" -d "/opt/devkitpro/tools/bin" unzip -j "bannertool.zip" "linux-x86_64/bannertool" -d "/opt/devkitpro/tools/bin"

View File

@ -762,13 +762,15 @@ if(NINTENDO_3DS)
OUTPUT "isle.bnr" OUTPUT "isle.bnr"
COMMAND "${BANNERTOOL}" makebanner -i "ISLE/res/3ds/banner.png" -a "ISLE/res/3ds/banner.wav" -o "isle.bnr" COMMAND "${BANNERTOOL}" makebanner -i "ISLE/res/3ds/banner.png" -a "ISLE/res/3ds/banner.wav" -o "isle.bnr"
DEPENDS "ISLE/res/3ds/banner.png" "ISLE/res/3ds/banner.wav" DEPENDS "ISLE/res/3ds/banner.png" "ISLE/res/3ds/banner.wav"
VERBATIM
) )
add_custom_command( add_custom_command(
OUTPUT "isle.cia" OUTPUT "isle.cia"
COMMAND "${MAKEROM}" -f cia -exefslogo -o "isle.cia" -rsf "ISLE/res/3ds/template.rsf" -major "${CMAKE_PROJECT_VERSION_MAJOR}" -minor "${CMAKE_PROJECT_VERSION_MINOR}" -micro 0 -icon "isle.smdh" -banner "isle.bnr" -elf "isle.elf" COMMAND "${MAKEROM}" -f cia -exefslogo -o "isle.cia" -rsf "../ISLE/res/3ds/template.rsf" -major "${CMAKE_PROJECT_VERSION_MAJOR}" -minor "${CMAKE_PROJECT_VERSION_MINOR}" -micro 0 -icon "isle.smdh" -banner "isle.bnr" -elf "isle.elf"
DEPENDS "ISLE/res/3ds/template.rsf" "isle.smdh" "isle.bnr" DEPENDS "ISLE/res/3ds/template.rsf" "isle.smdh" "isle.bnr"
COMMENT "Building CIA executable target isle.cia" COMMENT "Building CIA executable target isle.cia"
VERBATIM
) )
add_custom_target("isle_cia" ALL DEPENDS "isle.cia" isle) add_custom_target("isle_cia" ALL DEPENDS "isle.cia" isle)