mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-15 03:43:34 +00:00
ci(steam): strip Godot debug symbols before signing
This commit is contained in:
parent
5c99d18a1d
commit
7a5bc2ebbb
2 changed files with 9 additions and 0 deletions
5
.github/workflows/release-tamagotchi.yml
vendored
5
.github/workflows/release-tamagotchi.yml
vendored
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue