Basic macOS dmg generation

This commit is contained in:
Tim Angus 2025-09-10 18:28:21 +01:00
parent 53ca8b0565
commit 4fccc43576
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,8 @@ jobs:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
echo "VERSION=$(cat build/version.txt)" >> $GITHUB_ENV
cpack --config build/CPackConfig.cmake -B build/installer --verbose
mv build/installer/*.dmg build/Release
- name: Upload
uses: actions/upload-artifact@v4
with:

View File

@ -74,3 +74,5 @@ function(finish_macos_app)
endif()
endif()
endfunction()
set(CPACK_GENERATOR "DragNDrop")