ci: Fix macOS bundle validity issues. (#6572)

* ci: Fix improper copying of macOS artifacts.

* ci: Resign universal macOS app after combining.
This commit is contained in:
Steveice10 2023-05-31 03:01:12 -07:00 committed by GitHub
parent 4ddb2116bf
commit b91fbf3f8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -42,4 +42,10 @@ for OTHER_ARTIFACT in "${ARTIFACTS_LIST[@]:1}"; do
done done
done done
# Re-sign executables and bundles after combining.
APP_PATHS=(citra citra-room citra-qt.app)
for APP_PATH in "${APP_PATHS[@]}"; do
codesign --deep -fs - $REV_NAME/$APP_PATH
done
. .ci/common/post-upload.sh . .ci/common/post-upload.sh

View File

@ -8,9 +8,9 @@ COMPRESSION_FLAGS="-czvf"
mkdir "$REV_NAME" mkdir "$REV_NAME"
cp build/bin/Release/citra "$REV_NAME" cp -a build/bin/Release/citra "$REV_NAME"
cp -r build/bin/Release/libs "$REV_NAME" cp -a build/bin/Release/libs "$REV_NAME"
cp -r build/bin/Release/citra-qt.app "$REV_NAME" cp -a build/bin/Release/citra-qt.app "$REV_NAME"
cp build/bin/Release/citra-room "$REV_NAME" cp -a build/bin/Release/citra-room "$REV_NAME"
. .ci/common/post-upload.sh . .ci/common/post-upload.sh