Skip to content

Commit 4fccc43

Browse files
committed
Basic macOS dmg generation
1 parent 53ca8b0 commit 4fccc43

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
126126
cmake --build build
127127
echo "VERSION=$(cat build/version.txt)" >> $GITHUB_ENV
128+
cpack --config build/CPackConfig.cmake -B build/installer --verbose
129+
mv build/installer/*.dmg build/Release
128130
- name: Upload
129131
uses: actions/upload-artifact@v4
130132
with:

cmake/platforms/macos.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@ function(finish_macos_app)
7474
endif()
7575
endif()
7676
endfunction()
77+
78+
set(CPACK_GENERATOR "DragNDrop")

0 commit comments

Comments
 (0)