diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-02-17 13:35:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 13:35:47 +0100 |
commit | 01c15a30c0ab56e14342f9996bea3ad86a68a343 (patch) | |
tree | 1f302c042389a3b68e41249467e6047c07e14234 | |
parent | bf830a53f5b015e055383ef5c2a3ae923d9c393f (diff) | |
download | rneovim-01c15a30c0ab56e14342f9996bea3ad86a68a343.tar.gz rneovim-01c15a30c0ab56e14342f9996bea3ad86a68a343.tar.bz2 rneovim-01c15a30c0ab56e14342f9996bea3ad86a68a343.zip |
ci(release): run universal_macos build on M1 (#27505)
Run the release workflow on macos-14 to use faster M1 runners.
Lock the deployment target to the oldest supported version (11.0,
due to libuv support) instead of relying on the host OS version.
-rwxr-xr-x | .github/scripts/build_universal_macos.sh | 2 | ||||
-rw-r--r-- | .github/workflows/release.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/scripts/build_universal_macos.sh b/.github/scripts/build_universal_macos.sh index 49de6e2b96..aeda93ee03 100755 --- a/.github/scripts/build_universal_macos.sh +++ b/.github/scripts/build_universal_macos.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -MACOSX_DEPLOYMENT_TARGET="$(sw_vers -productVersion | cut -f1 -d.)" +MACOSX_DEPLOYMENT_TARGET=11.0 export MACOSX_DEPLOYMENT_TARGET cmake -S cmake.deps -B .deps -G Ninja \ -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 059372cf2a..48a3901955 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: printf 'END\n' >> $GITHUB_OUTPUT macOS: - runs-on: macos-12 + runs-on: macos-14 steps: - uses: actions/checkout@v4 with: |