diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3810204f..d9d3c760 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -243,6 +243,14 @@ jobs: --output appimage && \ mv *.AppImage dist/ + - name: Suffix debug AppImage + if: ${{ matrix.linux && matrix.debug }} + run: | + cd build/dist + for f in *.AppImage; do + mv "$f" "${f%.AppImage}-debug.AppImage" + done + - name: Package (3DS) if: ${{ matrix.n3ds }} run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index e668f624..1dcb466f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1083,6 +1083,9 @@ add_subdirectory(packaging) set(CPACK_PACKAGE_DIRECTORY "dist") set(CPACK_PACKAGE_FILE_NAME "isle-${PROJECT_VERSION}-${ISLE_PACKAGE_NAME}") +if(ISLE_DEBUG) + string(APPEND CPACK_PACKAGE_FILE_NAME "-debug") +endif() if(NINTENDO_3DS) find_program(BANNERTOOL bannertool) find_program(MAKEROM makerom)