From f18f5c23163043f221a1df2bf53aff2c268b82c4 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Mon, 30 Jun 2025 18:36:09 -0400 Subject: [PATCH] n3ds: just distribute the .3dsx --- .github/workflows/ci.yml | 9 +++++++++ CMakeLists.txt | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 218b5479..57d6e539 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,7 @@ jobs: run: cmake --build build --verbose - name: Package (CPack) + if: ${{ !matrix.n3ds }} run: | cd build cpack . @@ -131,6 +132,13 @@ jobs: --output appimage && \ mv *.AppImage dist/ + - name: Package (3DS) + if: ${{ matrix.n3ds }} + run: | + cd build + mkdir dist + mv *.3dsx dist/ + - name: Upload Build Artifacts uses: actions/upload-artifact@v4 with: @@ -138,6 +146,7 @@ jobs: path: | build/dist/isle-* build/dist/*.AppImage + build/dist/*.3dsx flatpak: name: "Flatpak (${{ matrix.arch }})" diff --git a/CMakeLists.txt b/CMakeLists.txt index 20fcf5e8..faf85a47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -676,4 +676,7 @@ if(MSVC) else() set(CPACK_GENERATOR TGZ) endif() -include(CPack) + +if(NOT NINTENDO_3DS) + include(CPack) +endif()