mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 00:38:58 +00:00
412aeaa0d4
Moved MSVC to Github Actions as well.
24 lines
653 B
Bash
Executable File
24 lines
653 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
. .ci/common/pre-upload.sh
|
|
|
|
REV_NAME="threeSD-macos-${GITNAME}"
|
|
|
|
mkdir "$REV_NAME"
|
|
cp -r build/bin/threeSD.app "$REV_NAME"
|
|
|
|
# move libs into folder for deployment
|
|
macpack "${REV_NAME}/threeSD.app/Contents/MacOS/threeSD" -d "../Frameworks"
|
|
# move qt frameworks into app bundle for deployment
|
|
$(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/threeSD.app" -executable="${REV_NAME}/threeSD.app/Contents/MacOS/threeSD"
|
|
|
|
# Make the launching script executable
|
|
chmod +x ${REV_NAME}/threeSD.app/Contents/MacOS/threeSD
|
|
|
|
# Verify loader instructions
|
|
find "$REV_NAME" -exec otool -L {} \;
|
|
|
|
mkdir "$REV_NAME/dist"
|
|
|
|
. .ci/common/post-upload.sh
|