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()