Skip to content

Commit

Permalink
CI: back to the basics
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Jan 22, 2025
1 parent 9ba5182 commit 44208dd
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/macos_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,6 @@ jobs:
# First just build the app
qmake -r ${SOURCE_DIR}/qgroundcontrol.pro CONFIG+=installer CONFIG+=${BUILD_TYPE}
make -j$JOBS
# Then manually do the deployment steps in the right order
# 1. Copy frameworks first
rsync -a --delete ${SOURCE_DIR}/libs/Frameworks/SDL2.framework QGroundControl.app/Contents/Frameworks/
rsync -a --delete /Library/Frameworks/GStreamer.framework QGroundControl.app/Contents/Frameworks/
# 2. Then run macdeployqt
/Users/runner/work/_temp/Qt/5.15.2/clang_64/bin/macdeployqt QGroundControl.app -appstore-compliant -verbose=1 -qmldir=${SOURCE_DIR}/src
# 3. Then clean up GStreamer
rm -rf QGroundControl.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/{bin,etc,share,Headers,include,Commands}
rm -rf QGroundControl.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/{*.a,*.la,glib-2.0,gst-validate-launcher,pkgconfig}
# 4. Create the DMG
mkdir -p package staging
rsync -a --delete QGroundControl.app staging/
hdiutil create -verbose -size 1g -fs HFS+ -volname QGroundControl-0.0.0 -srcfolder staging -format UDBZ package/QGroundControl.dmg
- name: ccache post-run
run: ccache -s
Expand Down

0 comments on commit 44208dd

Please sign in to comment.