Apple bundle with dylib's

This commit is contained in:
Danila Artyukhov
2024-06-06 17:34:23 +03:00
parent 7cbacba0c6
commit d818cec7bb
3 changed files with 91 additions and 60 deletions
+7
View File
@@ -30,11 +30,18 @@ jobs:
- name: Build
run: cmake --build build -t install
- name: Make fix_dylibs.sh executable
run: chmod +x fix_dylibs.sh
- name: Fix dylibs
run: ./fix_dylibs.sh VoxelEngine Release build
- name: Create DMG
run: |
mkdir VoxelEngineDmgContent
cp -r build/res VoxelEngineDmgContent/
cp -r build/VoxelEngine VoxelEngineDmgContent/
cp -r build/libs VoxelEngineDmgContent/libs
hdiutil create VoxelEngineMacApp.dmg -volname "VoxelEngine" -srcfolder VoxelEngineDmgContent -ov -format UDZO
- name: Upload artifacts