diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index a11bfe3a9fb..9587e666c23 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -79,6 +79,12 @@ jobs: name: open3d-devel-linux-x86_64-ML_${{ matrix.MLOPS }} path: open3d-devel-*.tar.xz if-no-files-found: error + - name: Upload Debian package to GitHub artifacts (if exist) + uses: actions/upload-artifact@v4 + with: + name: open3d-debian + path: open3d-devel*.deb + if-no-files-found: ignore - name: Upload viewer to GitHub artifacts if: ${{ env.BUILD_SHARED_LIBS == 'OFF' }} uses: actions/upload-artifact@v4 diff --git a/cmake/Open3DPackaging.cmake b/cmake/Open3DPackaging.cmake index f024d3159d9..737affbc2d4 100644 --- a/cmake/Open3DPackaging.cmake +++ b/cmake/Open3DPackaging.cmake @@ -35,7 +35,6 @@ set(CPACK_THREADS 0) # Use all cores for compressing package if (BUILD_DEBIAN_PACKAGE) list(APPEND CPACK_GENERATOR DEB) - set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS YES) endif() diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index cd52a838882..5b17b20d4b0 100644 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -222,7 +222,7 @@ RUN ccache -s \ && CCACHE_DIR_PARENT=$(dirname ${CCACHE_DIR}) \ && cd ${CCACHE_DIR_PARENT} \ && tar -czf /${CCACHE_TAR_NAME}.tar.gz ${CCACHE_DIR_NAME} \ - && if [ "${PACKAGE}" = "ON" ]; then mv /root/Open3D/build/package/open3d-devel*.tar.xz /; fi \ + && if [ "${PACKAGE}" = "ON" ]; then mv /root/Open3D/build/package/open3d-devel*.{tar.xz,deb} /; fi \ && if [ "${PACKAGE}" = "VIEWER" ]; then mv /root/Open3D/build/package-Open3DViewer-deb/open3d-viewer-*-Linux.deb /; fi \ && ls -alh /