commit c5c5d980a1e2b758048cf6310ccf97807c575a63
parent 7b2b44bce4bff85d9fd1bef09d294ddb889056e4
Author: Christian Clason <c.clason@uni-graz.at>
Date: Sun, 19 Jun 2022 16:20:27 +0200
ci(release): skip CoreServices system library on macOS (#19021)
Problem:
The release script bundles a system library (CoreServices) that was
added in #18294, which leads to errors on M1 since the architecture is
different from the Github runner.
Solution:
Skip CoreServices when bundling the libraries (as was done for the
CoreFoundation library that #18294 replaced with CoreServices).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -102,7 +102,7 @@ jobs:
libs=($(otool -L nvim-osx64/bin/nvim | sed 1d | sed -E -e 's|^[[:space:]]*||' -e 's| .*||'))
echo "libs:"
for lib in "${libs[@]}"; do
- if echo "$lib" | grep -q -E 'libSystem|CoreFoundation' 2>/dev/null; then
+ if echo "$lib" | grep -q -E 'libSystem|CoreServices' 2>/dev/null; then
echo " [skipped] $lib"
else
echo " $lib"