Basic macOS dmg generation
This commit is contained in:
parent
53ca8b0565
commit
4fccc43576
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -125,6 +125,8 @@ jobs:
|
||||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build build
|
cmake --build build
|
||||||
echo "VERSION=$(cat build/version.txt)" >> $GITHUB_ENV
|
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
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -74,3 +74,5 @@ function(finish_macos_app)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
set(CPACK_GENERATOR "DragNDrop")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user