mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 11:44:55 +00:00
CI: Compress Linux/macOS debug files
Installs Intel IPP on Ubuntu and macOS runners Updates boo to fix FindIPP for new *nix path
This commit is contained in:
11
ci/build-dmg.sh
Normal file
11
ci/build-dmg.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
mv metaforce-gui.app Metaforce.app
|
||||
# order is important
|
||||
for i in visigen hecl metaforce crashpad_handler; do
|
||||
codesign --timestamp --options runtime -s "$CODESIGN_IDENT" Metaforce.app/Contents/MacOS/$i
|
||||
done
|
||||
macdeployqt Metaforce.app -sign-for-notarization="$CODESIGN_IDENT" -no-strip
|
||||
create-dmg Metaforce.app --identity="$CODESIGN_IDENT" "$GITHUB_WORKSPACE"
|
||||
xcrun altool -t osx -f "$GITHUB_WORKSPACE"/*.dmg --primary-bundle-id com.axiodl.URDE --notarize-app \
|
||||
-u "$ASC_USERNAME" -p "$ASC_PASSWORD" --team-id "$ASC_TEAM_ID"
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash -ex
|
||||
cd build/Binaries
|
||||
for f in hecl metaforce-gui metaforce visigen; do
|
||||
objcopy --only-keep-debug --compress-debug-sections=zlib $f $f.dbg
|
||||
objcopy --only-keep-debug $f $f.dbg
|
||||
objcopy --strip-debug --add-gnu-debuglink=$f.dbg $f
|
||||
done
|
||||
done
|
||||
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dbg
|
||||
@@ -2,7 +2,8 @@
|
||||
cd build/Binaries/metaforce-gui.app/Contents/MacOS
|
||||
for f in hecl metaforce-gui metaforce visigen; do
|
||||
dsymutil $f
|
||||
strip -S $f
|
||||
done
|
||||
strip -S hecl metaforce-gui metaforce visigen crashpad_handler
|
||||
sentry-cli upload-dif --org axiodl --project metaforce {hecl,metaforce-gui,metaforce,visigen}{,.dSYM} --include-sources
|
||||
tar acfv "$GITHUB_WORKSPACE"/debug.tar.xz -- *.dSYM
|
||||
rm -r -- *.dSYM
|
||||
|
||||
Reference in New Issue
Block a user