diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-03-23 21:28:46 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-03-24 20:58:30 +0100 |
| commit | 036f86feaccb25d8552c4bf4d216f7f2a9205325 (patch) | |
| tree | 0382c9d76d83cf0018f104d8160d4c7ff1722923 /.github/scripts | |
| parent | 011585f35fee83c27e6db91a4ed0feff362efa75 (diff) | |
| download | rneovim-036f86feaccb25d8552c4bf4d216f7f2a9205325.tar.gz rneovim-036f86feaccb25d8552c4bf4d216f7f2a9205325.tar.bz2 rneovim-036f86feaccb25d8552c4bf4d216f7f2a9205325.zip | |
ci: provide separate macos releases for intel and arm
This will immensely reduce the complexity required to support both
architectures, reduce overall lines of code and unblock follow-up
simplifications.
Diffstat (limited to '.github/scripts')
| -rwxr-xr-x | .github/scripts/build_universal_macos.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.github/scripts/build_universal_macos.sh b/.github/scripts/build_universal_macos.sh deleted file mode 100755 index aeda93ee03..0000000000 --- a/.github/scripts/build_universal_macos.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -e - -MACOSX_DEPLOYMENT_TARGET=11.0 -export MACOSX_DEPLOYMENT_TARGET -cmake -S cmake.deps -B .deps -G Ninja \ - -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ - -D CMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \ - -D CMAKE_OSX_ARCHITECTURES=arm64\;x86_64 \ - -D CMAKE_FIND_FRAMEWORK=NEVER -cmake --build .deps -cmake -B build -G Ninja \ - -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ - -D CMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \ - -D CMAKE_OSX_ARCHITECTURES=arm64\;x86_64 \ - -D ENABLE_LIBINTL=OFF \ - -D CMAKE_FIND_FRAMEWORK=NEVER -cmake --build build -# Make sure we build everything for M1 as well -for macho in build/bin/* build/lib/nvim/parser/*.so; do - lipo -info "$macho" | grep -q arm64 || exit 1 -done -cpack --config build/CPackConfig.cmake |