2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:04:56 +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:
2021-04-07 12:39:26 -04:00
parent 3b59eac508
commit 4247e38349
5 changed files with 46 additions and 20 deletions

11
ci/build-dmg.sh Normal file
View 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"