From e2915709b017572b4cab051fa2e0691236bbc8d3 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 19 Jun 2022 16:20:27 +0200 Subject: [PATCH] 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). --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be93cd0245..20e2302205 100644 --- 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"