Skip to content

Commit 44208dd

Browse files
committed
CI: back to the basics
1 parent 9ba5182 commit 44208dd

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/macos_release.yml

-17
Original file line numberDiff line numberDiff line change
@@ -103,23 +103,6 @@ jobs:
103103
# First just build the app
104104
qmake -r ${SOURCE_DIR}/qgroundcontrol.pro CONFIG+=installer CONFIG+=${BUILD_TYPE}
105105
make -j$JOBS
106-
107-
# Then manually do the deployment steps in the right order
108-
# 1. Copy frameworks first
109-
rsync -a --delete ${SOURCE_DIR}/libs/Frameworks/SDL2.framework QGroundControl.app/Contents/Frameworks/
110-
rsync -a --delete /Library/Frameworks/GStreamer.framework QGroundControl.app/Contents/Frameworks/
111-
112-
# 2. Then run macdeployqt
113-
/Users/runner/work/_temp/Qt/5.15.2/clang_64/bin/macdeployqt QGroundControl.app -appstore-compliant -verbose=1 -qmldir=${SOURCE_DIR}/src
114-
115-
# 3. Then clean up GStreamer
116-
rm -rf QGroundControl.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/{bin,etc,share,Headers,include,Commands}
117-
rm -rf QGroundControl.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/{*.a,*.la,glib-2.0,gst-validate-launcher,pkgconfig}
118-
119-
# 4. Create the DMG
120-
mkdir -p package staging
121-
rsync -a --delete QGroundControl.app staging/
122-
hdiutil create -verbose -size 1g -fs HFS+ -volname QGroundControl-0.0.0 -srcfolder staging -format UDBZ package/QGroundControl.dmg
123106
124107
- name: ccache post-run
125108
run: ccache -s

0 commit comments

Comments
 (0)