mirror of
https://github.com/moeru-ai/airi.git
synced 2026-10-31 03:44:38 +08:00
ci(steam): strip Godot debug symbols before signing
This commit is contained in:
@@ -167,6 +167,11 @@ jobs:
|
||||
run: |
|
||||
mkdir -p build/mac
|
||||
godot --headless --export-release "macOS" build/mac/godot-stage.app
|
||||
# NOTICE: SteamPipe excludes *.pdb by default. Delete Godot debug
|
||||
# symbols before Electron signs the parent app so macOS sealed
|
||||
# resources match the content Steam installs.
|
||||
find build/mac/godot-stage.app -name '*.pdb' -delete
|
||||
find build/mac/godot-stage.app -name '._*' -delete
|
||||
|
||||
- name: Export Godot Stage (Linux)
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
|
||||
|
||||
@@ -195,6 +195,10 @@ jobs:
|
||||
echo "macOS Steam content still contains AppleDouble files that break codesign."
|
||||
exit 1
|
||||
fi
|
||||
if find steam-build/macos/AIRI.app -name '*.pdb' -print -quit | grep -q .; then
|
||||
echo "macOS Steam content must not contain PDB files because SteamPipe excludes them after signing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! file steam-build/macos/AIRI.app/Contents/MacOS/airi | grep -q 'arm64'; then
|
||||
echo "Steam macOS content currently supports Apple Silicon only."
|
||||
|
||||
Reference in New Issue
Block a user