ci(steam): strip Godot debug symbols before signing

This commit is contained in:
Lovehsigure_520 2026-07-11 18:29:46 +08:00
parent 5c99d18a1d
commit 7a5bc2ebbb
2 changed files with 9 additions and 0 deletions

View file

@ -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'

View file

@ -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."