GHA: Refactor stripping of iOS libraries

This commit is contained in:
Serhii Snitsaruk 2024-07-19 11:17:23 +02:00
parent 66931c1a36
commit 32393d6f64
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 4 additions and 5 deletions

View File

@ -322,11 +322,10 @@ jobs:
run: |
ls -l -R out/addons/limboai/bin/
echo "---"
if [ "$RUNNER_OS" == "macOS" ]; then
# MacOS libs
strip -u out/addons/limboai/bin/liblimboai*/liblimboai* || true
# iOS libs
# strip -u out/addons/limboai/bin/liblimboai* || true
if [ "${{matrix.opts.platform}}" == "macos" ]; then
strip -u out/addons/limboai/bin/liblimboai*/liblimboai*
elif [ "${{matrix.opts.platform}}" == "ios" ]; then
strip -u out/addons/limboai/bin/liblimboai*
else
strip out/addons/limboai/bin/liblimboai*
fi