File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed
Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,16 @@ jobs:
112112 name : coveralls.json
113113 path : coveralls.json
114114
115+ - name : Package
116+ working-directory : ${{github.workspace}}/build
117+ run : cmake --build . --target package
115118
116- # - name: Package
119+ - uses : actions/upload-artifact@v4
120+ if : matrix.os == 'ubuntu-24.04'
121+ with :
122+ name : packages
123+ path : ${{github.workspace}}/build/Crow-*
124+
125+ # - name: Source package
117126 # working-directory: ${{github.workspace}}/build
118- # run: |
119- # cmake --build . --target ALL_BUILD && \
120- # cmake --build . --target doc && \
121- # cmake --build . --target package && \
122- # cpack --config CPackSourceConfig.cmake
127+ # run: cpack --config CPackSourceConfig.cmake
Original file line number Diff line number Diff line change @@ -206,7 +206,16 @@ if(CROW_INSTALL)
206206 )
207207endif ()
208208
209- set (CPACK_GENERATOR "ZIP" )
209+ if (WIN32 AND NOT CYGWIN )
210+ set (CPACK_GENERATOR NSIS ZIP)
211+ endif (WIN32 AND NOT CYGWIN )
212+ if (APPLE )
213+ set (CPACK_GENERATOR DragNDrop TGZ)
214+ endif (APPLE )
215+ if (UNIX AND NOT APPLE AND NOT WIN32 )
216+ set (CPACK_GENERATOR DEB TGZ)
217+ endif (UNIX AND NOT APPLE AND NOT WIN32 )
218+
210219set (CPACK_PACKAGE_NAME "Crow" )
211220set (CPACK_DEBIAN_PACKAGE_MAINTAINER "CrowCpp" )
212221set (CPACK_PACKAGE_VENDOR "CrowCpp" )
You can’t perform that action at this time.
0 commit comments